Skip to content

Commit

Permalink
allow to inject already base64 encoded data
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelm41 committed Oct 12, 2023
1 parent f8ce10f commit 04fb254
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions application/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ stringData:
{{- range $key, $value := .stringData }}
{{ $key }}: {{ $value }}
{{- end }}
{{- else if .encodedData }}
data:
{{- range $key, $value := .encodedData }}
{{ $key }}: {{ $value }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 04fb254

Please sign in to comment.