Skip to content

Commit 7fdc931

Browse files
committed
feat(helm): support patches
1 parent 2164f0a commit 7fdc931

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • hack/charts/cluster-api-operator/templates

hack/charts/cluster-api-operator/templates/infra.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ spec:
7474
{{- if $infra.manifestPatches }}
7575
manifestPatches: {{- toYaml $infra.manifestPatches | nindent 4 }}
7676
{{- end }} {{/* if $infra.manifestPatches */}}
77+
{{- if $infra.patches }}
78+
patches: {{ toYaml $infra.patches | nindent 4 }}
79+
{{- end }} {{/* if $infra.patches */}}
7780
{{- if $infra.fetchConfig }}
7881
fetchConfig: {{ toYaml $infra.fetchConfig | nindent 4 }}
7982
{{- end }}

0 commit comments

Comments
 (0)