Skip to content

Commit

Permalink
Fix openid-secret.yaml (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotzke authored Jun 12, 2024
1 parent 22d40c0 commit 5341267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/defguard/templates/openid-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- $openIdKey := (genPrivateKey "rsa") | b64enc | quote }}
{{- $secret := (lookup "v1" "Secret" .Release.Namespace .Values.openIdKey) }}
{{- if $secret }}
{{- $password = index $secret.data "openid-key" }}
{{- $openIdKey = index $secret.data "openid-key" }}
{{- end }}
apiVersion: v1
kind: Secret
Expand Down

0 comments on commit 5341267

Please sign in to comment.