Skip to content

Commit

Permalink
fix: encode secret to base64
Browse files Browse the repository at this point in the history
  • Loading branch information
ElderMatt committed Jul 9, 2024
1 parent e03900f commit 991292f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/apl-keycloak-operator/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ metadata:
namespace: apl-keycloak-operator
data:
certificats.crt: |
{{- toYaml . | nindent 4 }}
{{- . | b64enc | nindent 4 }}
{{- end }}
3 changes: 1 addition & 2 deletions values/apl-keycloak-operator/apl-keycloak-operator.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ imagePullSecrets:
configs:
{{ if $v._derived.untrustedCA }}
tls:
certificates:
certificates.crt: |
certificates: |
{{- $v._derived.caCert | nindent 8 }}
{{ end }}
script: |
Expand Down

0 comments on commit 991292f

Please sign in to comment.