feat: secrets 2

main
Sven Ketelsen 4 years ago
parent 0e3476cb32
commit e73c5ff6d4

@ -8,7 +8,7 @@ metadata:
{{- $previous := lookup "v1" "Secret" .Release.Namespace "connect-secrets" }}
data:
{{- if $previous }}
{{- $previousSecret := index $previous "data" "some-secret" }}
{{- $previousSecret := index $previous "data" "SOME_SECRET" }}
{{- if $previousSecret }}
SOME_SECRET_OLD: {{ $previousSecret }}
{{- end }}

Loading…
Cancel
Save