@@ -4,7 +4,7 @@ applicationsets:
4
4
namespace: argocd
5
5
finalizers:
6
6
- resources-finalizer.argocd.argoproj.io
7
- goTemplate: false
7
+ goTemplate: true
8
8
goTemplateOptions: ["missingkey=invalid"]
9
9
applyNestedSelectors: true
10
10
@@ -33,8 +33,8 @@ applicationsets:
33
33
- path: "{{ .Values | get "baseDir" "baseDir missing" }}{{`/{{ .values.clusterGroup }}/{{ .values.clusterName }}/apps/*`}}"
34
34
- path: "{{ .Values | get "baseDir" "baseDir missing" }}{{`/{{ .values.clusterName }}/apps/*`}}"
35
35
values:
36
- appInstance: "{{` {{- printf ' {{ .path.basename }}' -}}`}}"
37
- appInstancePath: "{{` {{- printf ' {{ .path.path }}' -}}`}}"
36
+ appInstance: '{{ printf "%s" " {{- printf ` {{ .path.basename }}` -}}" }}'
37
+ appInstancePath: '{{ printf "%s" " {{- printf ` {{ .path.path }}` -}}" }}'
38
38
39
39
- merge:
40
40
mergeKeys:
@@ -115,7 +115,7 @@ applicationsets:
115
115
namespace: argocd
116
116
finalizers:
117
117
- resources-finalizer.argocd.argoproj.io
118
- goTemplate: false
118
+ goTemplate: true
119
119
goTemplateOptions: ["missingkey=invalid"]
120
120
121
121
generators:
@@ -143,8 +143,8 @@ applicationsets:
143
143
- path: "{{ .Values | get "baseDir" "baseDir missing" }}{{`/{{ .values.clusterGroup }}/{{ .values.clusterName }}/apps/*`}}"
144
144
- path: "{{ .Values | get "baseDir" "baseDir missing" }}{{`/{{ .values.clusterName }}/apps/*`}}"
145
145
values:
146
- appInstance: "{{` {{- printf ' {{ .path.basename }}' -}}`}}"
147
- appInstancePath: "{{` {{- printf ' {{ .path.path }}' -}}`}}"
146
+ appInstance: '{{ printf "%s" " {{- printf ` {{ .path.basename }}` -}}" }}'
147
+ appInstancePath: '{{ printf "%s" " {{- printf ` {{ .path.path }}` -}}" }}'
148
148
149
149
- merge:
150
150
mergeKeys:
0 commit comments