Skip to content

Commit

Permalink
[Keycloak] Fix generated passwords may have whitespaces when secret a…
Browse files Browse the repository at this point in the history
…lready exists (#1004)

Co-authored-by: quaark <[email protected]>
  • Loading branch information
quaark and quaark authored Nov 14, 2023
1 parent a2c8703 commit 8655c48
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion stable/v3io-keycloak/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: v3io-keycloak
version: 0.1.5
version: 0.1.6
appVersion: 20.0.5
description: Keycloak With V3IO MySQL Database
maintainers:
Expand Down
4 changes: 2 additions & 2 deletions stable/v3io-keycloak/templates/db-creds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
data:
# for mysql
DB_USER: {{ include "v3io-keycloak.dbUser" . | b64enc }}
DB_PASSWORD: {{ $password | b64enc }}
DB_PASSWORD: {{ $password | trim | b64enc }}

# for keycloak
db-password: {{ $password | b64enc }}
db-password: {{ $password | trim | b64enc }}
2 changes: 1 addition & 1 deletion stable/v3io-keycloak/templates/master-creds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ metadata:
labels:
{{ include "v3io-keycloak.labels" . | nindent 4 }}
data:
masterPassword: {{ include "v3io-keycloak.masterPassword" . | b64enc }}
masterPassword: {{ include "v3io-keycloak.masterPassword" . | trim | b64enc }}
{{- end }}

0 comments on commit 8655c48

Please sign in to comment.