Skip to content

Commit

Permalink
fix version parameter default value (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
guneriu authored Jul 30, 2024
1 parent ecc525b commit 37c195f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion yilu-common/templates/vaultSecret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ spec:
mount: {{ .mountPath }}
type: {{ .type }}
path: {{ .secretPath }}
version: {{ .version | default "1" }}
{{- if .version -}}
version: {{ .version }}
{{- end }}
refreshAfter: {{ .refreshInterval }}
destination:
name: {{ .secretName }}
Expand Down

0 comments on commit 37c195f

Please sign in to comment.