Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit ef83a7f

Browse files
committed
Adding refcount to ref: multisource option
1 parent 54108e6 commit ef83a7f

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

charts/clustergroup/templates/plumbing/applications.yaml

+2-7
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ spec:
155155
{{- if not (.chart) }}
156156
ref: gitref{{$refcount}}
157157
{{- end }}
158-
{{ $refcount = add1 $refcount }}
159-
{{- if and (not .kustomize) (.chart) }}
158+
{{- if and (not .kustomize) }}
160159
helm:
161160
ignoreMissingValueFiles: true
162161
valueFiles:
@@ -238,13 +237,9 @@ spec:
238237
{{- end }}{{- /* END RANGE */}}
239238
{{- end }} {{- /* END FILEPARAMETERS */}}
240239
{{- end }} {{- /* IF NOT PLUGIN-ELSE */}}
241-
242-
243-
244-
240+
{{ $refcount = add1 $refcount }}
245241
{{- end }}
246242
{{- else }}
247-
248243
source:
249244
repoURL: {{ coalesce .repoURL $.Values.global.repoURL }}
250245
targetRevision: {{ coalesce .targetRevision $.Values.global.targetRevision }}

0 commit comments

Comments
 (0)