Skip to content

Commit e7d2594

Browse files
committed
feat(chart): core: allow passing additionalArgs to manager
1 parent 26b08b4 commit e7d2594

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ spec:
3939
{{- end }}
4040
{{- if $core.manager }}
4141
manager:
42+
{{- if $core.manager.additionalArgs }}
43+
additionalArgs:
44+
{{- range $key, $value := $core.manager.additionalArgs }}
45+
{{ $key }}: {{ $value }}
46+
{{- end }}
47+
{{- end }}
4248
{{- if $core.manager.featureGates }}
4349
featureGates:
4450
{{- range $key, $value := $core.manager.featureGates }}

hack/charts/cluster-api-operator/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ core: {}
1515
# serviceAccountName: ""
1616
# imagePullSecrets: []
1717
# manager: # Optional
18+
# additionalArgs: {}
1819
# featureGates:
1920
# ClusterTopology: true
2021
# metrics:

0 commit comments

Comments
 (0)