Skip to content

Commit

Permalink
1.1.21: extSecrets - update keys to dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
alexremn committed Sep 8, 2024
1 parent c7cc6ba commit e5a19ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/default-templates/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
appVersion: '1.1.20'
version: '1.1.20'
appVersion: '1.1.21'
version: '1.1.21'
name: default-templates
description: Default templates chart
icon: https://hub.docker.com/public/images/logos/mini-logo.svg
Expand Down
4 changes: 2 additions & 2 deletions charts/default-templates/templates/_secret.external.multi.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ spec:
{{- range $secretConfig.secrets }}
{{- $remoteKey := .name }}
{{- range .keys }}
- secretKey: {{ . }}
- secretKey: {{- if typeIs "string" . }}{{ . }}{{- else }}{{ .name }}{{- end }}
remoteRef:
key: {{ $remoteKey }}
property: {{ . }}
property: {{- if typeIs "string" . }}{{ . }}{{- else }}{{ .property }}{{- end }}
{{- end }}
{{- end }}
---
Expand Down

0 comments on commit e5a19ad

Please sign in to comment.