We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 753b27a commit d269979Copy full SHA for d269979
packages/system/keycloak/templates/sts.yaml
@@ -1,7 +1,7 @@
1
{{- $cozyConfig := lookup "v1" "ConfigMap" "cozy-system" "cozystack" }}
2
{{- $host := index $cozyConfig.data "root-host" }}
3
4
-{{- $existingPassword := lookup "v1" "Secret" "cozy-keycloak" "{{ .Release.Name }}-credentials" }}
+{{- $existingPassword := lookup "v1" "Secret" "cozy-keycloak" (printf "%s-credentials" .Release.Name) }}
5
{{- $password := randAlphaNum 16 -}}
6
{{- if $existingPassword }}
7
{{- $password = index $existingPassword.data "password" | b64dec }}
0 commit comments