Skip to content

Commit

Permalink
change secret name
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelo Sleebos committed Aug 13, 2024
1 parent 097a11d commit 7e69cc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/gxf/templates/certificate-keystore-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: {{ .Release.Name }}-keystore-password
type: Opaque
data:
{{ .Release.Name }}-keystore-password: {{ $secret := lookup "v1" "Secret" .Release.Namespace (printf "%s-keystore-password" .Release.Name) }}
keystore-password: {{ $secret := lookup "v1" "Secret" .Release.Namespace (printf "%s-keystore-password" .Release.Name) }}
{{- if $secret -}}
{{- index $secret "data" "keystore-password" -}}
{{- else -}}
Expand Down
2 changes: 1 addition & 1 deletion charts/gxf/templates/certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ spec:
create: true
passwordSecretRef:
name: {{ $.Release.Name }}-keystore-password
key: password
key: keystore-password
---
{{- end }}

0 comments on commit 7e69cc0

Please sign in to comment.