File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ keywords:
16
16
sources :
17
17
- https://github.com/mtougeron/k8s-pvc-tagger
18
18
19
- version : 2.1.1
19
+ version : 2.2.0
20
20
appVersion : v1.1.0
Original file line number Diff line number Diff line change @@ -33,14 +33,18 @@ spec:
33
33
- --annotation-prefix={{ .Values.annotationPrefix }}
34
34
{{- end }}
35
35
{{- if .Values.defaultTags }}
36
- - --default-tags={{ tpl (.Values.defaultTags) $ | toJson }}
36
+ {{- if kindIs "string" .Values.defaultTags }}
37
+ - ' --default-tags={{ tpl (.Values.defaultTags) $ }}'
38
+ {{- else }}
39
+ - ' --default-tags={{ tpl (.Values.defaultTags | toJson) $ }}'
40
+ {{- end }}
37
41
{{- end }}
38
42
{{- if .Values.watchNamespace }}
39
43
- --watch-namespace={{ .Values.watchNamespace }}
40
44
{{- end }}
41
45
{{- range $key, $value := .Values.extraArgs }}
42
46
{{- if $value }}
43
- - --{{ $key }}={{ $value }}
47
+ - --{{ $key }}={{ tpl $value $ }}
44
48
{{- else }}
45
49
- --{{ $key }}
46
50
{{- end }}
You can’t perform that action at this time.
0 commit comments