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

Enable password authentication if other authentication methods are also set #86

Closed
wants to merge 1 commit into from

Conversation

FleischerT
Copy link

The issue with password authentication working only when it is set as the only authentication type has been fixed. Since now in the templates it checks for a substring instead of equality.

Furthermore, it is now possible to use an externally created secret for the password file.

… substring in Value authenticationType.

Furthermore, it is now possible to use an externally created secret for the password file.
@cla-bot
Copy link

cla-bot bot commented Jun 30, 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

@FleischerT
Copy link
Author

@cla-bot check

@cla-bot cla-bot bot added the cla-signed label Jul 17, 2023
@cla-bot
Copy link

cla-bot bot commented Jul 17, 2023

The cla-bot has been summoned, and re-checked this pull request!

Copy link
Member

@nineinchnick nineinchnick left a comment

Choose a reason for hiding this comment

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

Please rebase, there are some new tests and the README needs to be updated to include the change from values.yaml.

@@ -1,4 +1,4 @@
{{- if eq .Values.server.config.authenticationType "PASSWORD" }}
{{- if and (eq .Values.server.config.authenticationType "PASSWORD") (.Values.auth.passwordAuth) }}
Copy link
Member

Choose a reason for hiding this comment

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

No need to use contains here too?

@nineinchnick
Copy link
Member

Ah I just noticed #124 is merged, this might not be needed anymore.

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

Successfully merging this pull request may close these issues.

None yet

2 participants