From 37c195f3bc1b714680fd86995a7392c1b06bc460 Mon Sep 17 00:00:00 2001 From: Ugur Guneri Date: Tue, 30 Jul 2024 16:13:05 +0200 Subject: [PATCH] fix version parameter default value (#63) --- yilu-common/templates/vaultSecret.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/yilu-common/templates/vaultSecret.yaml b/yilu-common/templates/vaultSecret.yaml index db5577c..d2fe4f2 100644 --- a/yilu-common/templates/vaultSecret.yaml +++ b/yilu-common/templates/vaultSecret.yaml @@ -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 }}