File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -196,6 +196,7 @@ spec:
196196 {{- range $k , $v := $ns }}{{- /* We loop here even though the map has always just one key */ }}
197197 {{- if $v }}
198198 {{- if or $v .operatorGroup (not (hasKey $v " operatorGroup" )) }}{{- /* Checks if the user sets operatorGroup: false */ }}
199+ ---
199200apiVersion: operators.coreos.com /v1
200201kind: OperatorGroup
201202metadata:
@@ -212,6 +213,7 @@ spec:
212213 {{- end }}{{- /* End of if hasKey $v "targetNamespaces" */ }}
213214 {{- end }}{{- /* End if $v.operatorGroup */ }}
214215 {{- else }}{{- /* else if $v == nil */ }}
216+ ---
215217apiVersion: operators.coreos.com /v1
216218kind: OperatorGroup
217219metadata:
Original file line number Diff line number Diff line change 1515 {{- if kindIs "map" $ns }}
1616 {{- range $k, $v := $ns }}{{- /* We loop here even though the map has always just one key */}}
1717 {{- if $v.operatorGroup }}{{- /* Checks if the user sets operatorGroup: false */}}
18+ ---
1819apiVersion : operators.coreos.com/v1
1920kind : OperatorGroup
2021metadata :
3233 {{- end }}{{- /* range $k, $v := $ns */}}
3334 {{- end }}{{- /* End of if operatorGroup */}}
3435 {{- else if kindIs "string" $ns }}
36+ ---
3537apiVersion : operators.coreos.com/v1
3638kind : OperatorGroup
3739metadata :
Original file line number Diff line number Diff line change 4040 limit : {{ default 20 $.Values.global.options.applicationRetryLimit }}
4141 {{- end }}
4242 {{- if .ignoreDifferences }}
43- ignoreDifferences : {{ .ignoreDifferences | toPrettyJson }}
43+ ignoreDifferences : {{ .ignoreDifferences | toPrettyJson | nindent 2 }}
4444 {{- end }}
4545 source :
4646 repoURL : {{ coalesce .repoURL $.Values.global.repoURL }}
@@ -119,6 +119,7 @@ spec:
119119 server : {{ coalesce .destinationServer "https://kubernetes.default.svc" }}
120120 namespace : {{ coalesce .destinationNamespace .namespace $namespace }}
121121{{- else }}
122+ ---
122123apiVersion : argoproj.io/v1alpha1
123124kind : Application
124125metadata :
@@ -280,7 +281,6 @@ spec:
280281 retry :
281282 limit : {{ default 20 $.Values.global.applicationRetryLimit }}
282283 {{- end }}{{- /* .syncPolicy */}}
283- ---
284284{{- end }}{{- /* if or (.generators) (.generatorFile) (.useGeneratorValues) (.destinationServer) (.destinationNamespace) */}}
285285{{- end }}{{- /* range .Values.clusterGroup.applications */}}
286286{{- end }}{{- /* if not (eq .Values.enabled "core") */}}
You can’t perform that action at this time.
0 commit comments