diff --git a/chart/flux/templates/deployment.yaml b/chart/flux/templates/deployment.yaml index 5c3c06d817..c216d74f6f 100644 --- a/chart/flux/templates/deployment.yaml +++ b/chart/flux/templates/deployment.yaml @@ -191,7 +191,7 @@ spec: - --connect=wss://cloud.weave.works/api/flux - --token={{ .Values.token }} {{- end }} - {{- if and .Values.syncGarbageCollection.enabled (not .Values.syncGarbageCollection.dry)}} + {{- if and .Values.syncGarbageCollection.enabled (not .Values.syncGarbageCollection.dry) }} - --sync-garbage-collection={{ .Values.syncGarbageCollection.enabled }} {{- else if .Values.syncGarbageCollection.dry }} - --sync-garbage-collection-dry={{ .Values.syncGarbageCollection.dry }}