Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
klinch0 committed Dec 4, 2024
1 parent 992db51 commit 13d01c6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/system/keycloak-configure/templates/configure-kk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@

{{ $k8sClient := "" }}
{{- if $existingK8sSecret }}
{{- $k8sClient := index $existingK8sSecret.data "client-secret-key" | b64dec }}
{{- $k8sClient = index $existingK8sSecret.data "client-secret-key" | b64dec }}
{{- else }}
{{- $k8sClient := randAlphaNum 32 }}
{{- $k8sClient = randAlphaNum 32 }}
{{- end }}

{{ $kubeappsClient := "" }}
{{- if $existingKubeappsSecret }}
{{- $kubeappsClient := index $existingKubeappsSecret.data "client-secret-key" | b64dec }}
{{- $kubeappsClient = index $existingKubeappsSecret.data "client-secret-key" | b64dec }}
{{- else }}
{{- $kubeappsClient := randAlphaNum 32 }}
{{- $kubeappsClient = randAlphaNum 32 }}
{{- end }}

{{ $cookieSecret := "" }}
{{- if $existingAuthConfig }}
{{- $cookieSecret := index $existingAuthConfig.data "cookieSecret" | b64dec }}
{{- $cookieSecret = index $existingAuthConfig.data "cookieSecret" | b64dec }}
{{- else }}
{{- $cookieSecret := randAlphaNum 16 }}
{{- $cookieSecret = randAlphaNum 16 }}
{{- end }}

---
Expand Down

0 comments on commit 13d01c6

Please sign in to comment.