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

[Keycloak] Fix generated passwords may have whitespaces when secret already exists #1004

Merged
merged 5 commits into from
Nov 14, 2023

Conversation

quaark
Copy link
Collaborator

@quaark quaark commented Nov 14, 2023

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove irrelevant fields.]

  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [mychartname])

Description

For the db password and master password, the password itself is generated once and stored in a secret. The secret isn't deleted and so if the app service restarts, the helm template gets the password from the existing secret. This resulted in a prefixed newline in the password. Added trimming to make sure this doesn't happen.

@quaark quaark changed the title [v3io-mysql] Fix DB password may have whitespaces when secret already exists [Keycloak] Fix generated passwords may have whitespaces when secret already exists Nov 14, 2023
@quaark quaark merged commit 8655c48 into v3io:integ_3.5 Nov 14, 2023
24 checks passed
quaark added a commit to quaark/helm-charts that referenced this pull request Nov 14, 2023
…lready exists (v3io#1004)

Co-authored-by: quaark <a.melnick@icloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant