Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[catalogs] use secrets #111

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

luismacosta
Copy link

@luismacosta luismacosta commented Dec 5, 2023

Hello,

Once catalogs have username/password, instead of configmap use a secret
Note: I'm also using this secrets approach to configure authentication with password file + ldap, in order to create the property files (I've seen this approach for ldap, but I would rather avoid to use env vars with passwords)

Copy link

cla-bot bot commented Dec 5, 2023

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@luismacosta luismacosta changed the title [catalog] use secrets [catalogs] use secrets Dec 5, 2023
Copy link

cla-bot bot commented Dec 6, 2023

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

Copy link

cla-bot bot commented Dec 6, 2023

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

Copy link

cla-bot bot commented Jan 28, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

Copy link

cla-bot bot commented Jan 28, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@philicious
Copy link

This is a good improvement!

Worth noting in changelog as breaking tho

apiVersion: v1
kind: Secret
metadata:
name: "{{ .name }}"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to use a template variable. We may use trino.catalog (the current name of config map) or use trino.catalog-secret to avoid conflicts.

@chulkilee
Copy link

@luismacosta could you sign the CLA to unblock this PR? I'm not a contributor but would like to use this change..

@nineinchnick
Copy link
Member

@luismacosta can you rebase and address comments?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants