File tree Expand file tree Collapse file tree 6 files changed +6
-18
lines changed
hack/charts/cluster-api-operator/templates Expand file tree Collapse file tree 6 files changed +6
-18
lines changed Original file line number Diff line number Diff line change 45
45
{{- end }}
46
46
{{- if and (kindIs "map" $.Values.fetchConfig) (hasKey $.Values.fetchConfig $addonName) }}
47
47
fetchConfig :
48
- {{- range $key, $value := index $.Values.fetchConfig $addonName }}
49
- {{ $key }}: {{ $value }}
50
- {{- end }}
48
+ {{- index $.Values.fetchConfig $addonName | toYaml | nindent 4 }}
51
49
{{- end }}
52
50
{{- if $addon.additionalManifests }}
53
51
additionalManifests :
Original file line number Diff line number Diff line change 46
46
{{- end }}
47
47
{{- if and (kindIs "map" $.Values.fetchConfig) (hasKey $.Values.fetchConfig $bootstrapName) }}
48
48
fetchConfig :
49
- {{- range $key, $value := index $.Values.fetchConfig $bootstrapName }}
50
- {{ $key }}: {{ $value }}
51
- {{- end }}
49
+ {{- index $.Values.fetchConfig $bootstrapName | toYaml | nindent 4 }}
52
50
{{- end }}
53
51
{{- if $bootstrap.additionalManifests }}
54
52
additionalManifests :
Original file line number Diff line number Diff line change 59
59
{{- end }}
60
60
{{- if and (kindIs "map" $.Values.fetchConfig) (hasKey $.Values.fetchConfig $controlPlaneName) }}
61
61
fetchConfig :
62
- {{- range $key, $value := index $.Values.fetchConfig $controlPlaneName }}
63
- {{ $key }}: {{ $value }}
64
- {{- end }}
62
+ {{- index $.Values.fetchConfig $controlPlaneName | toYaml | nindent 4 }}
65
63
{{- end }}
66
64
{{- if $controlPlane.additionalManifests }}
67
65
additionalManifests :
Original file line number Diff line number Diff line change 55
55
{{- end }}
56
56
{{- if and (kindIs "map" $.Values.fetchConfig) (hasKey $.Values.fetchConfig $coreName) }}
57
57
fetchConfig :
58
- {{- range $key, $value := index $.Values.fetchConfig $coreName }}
59
- {{ $key }}: {{ $value }}
60
- {{- end }}
58
+ {{- index $.Values.fetchConfig $coreName | toYaml | nindent 4 }}
61
59
{{- end }}
62
60
{{- if $core.additionalManifests }}
63
61
additionalManifests :
Original file line number Diff line number Diff line change 49
49
{{- end }}
50
50
{{- if and (kindIs "map" $.Values.fetchConfig) (hasKey $.Values.fetchConfig $infrastructureName) }}
51
51
fetchConfig :
52
- {{- range $key, $value := index $.Values.fetchConfig $infrastructureName }}
53
- {{ $key }}: {{ $value }}
54
- {{- end }}
52
+ {{- index $.Values.fetchConfig $infrastructureName | toYaml | nindent 4 }}
55
53
{{- end }}
56
54
{{- if $.Values.configSecret.name }}
57
55
configSecret :
Original file line number Diff line number Diff line change 49
49
{{- end }}
50
50
{{- if and (kindIs "map" $.Values.fetchConfig) (hasKey $.Values.fetchConfig $ipamName) }}
51
51
fetchConfig :
52
- {{- range $key, $value := index $.Values.fetchConfig $ipamName }}
53
- {{ $key }}: {{ $value }}
54
- {{- end }}
52
+ {{- index $.Values.fetchConfig $ipamName | toYaml | nindent 4 }}
55
53
{{- end }}
56
54
{{- if $.Values.configSecret.name }}
57
55
configSecret :
You can’t perform that action at this time.
0 commit comments