Skip to content

Commit f4c7c0b

Browse files
authored
Merge pull request #425 from Fedosin/chart_env
✨ Add "env" section support to the helm chart
2 parents 9ccc6d1 + 6149817 commit f4c7c0b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ spec:
9999
resources:
100100
{{- toYaml . | nindent 12 }}
101101
{{- end }}
102+
{{- with .Values.env.manager }}
103+
env:
104+
{{- toYaml . | nindent 12 }}
105+
{{- end }}
102106
{{- with .Values.containerSecurityContext.manager }}
103107
securityContext:
104108
{{- toYaml . | nindent 12 }}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ image:
2727
repository: gcr.io/k8s-staging-capi-operator/cluster-api-operator
2828
tag: dev
2929
pullPolicy: IfNotPresent
30+
env:
31+
manager: []
3032
healthAddr: ":8081"
3133
metricsBindAddr: "127.0.0.1:8080"
3234
diagnosticsAddress: "8443"

0 commit comments

Comments
 (0)