Skip to content

Commit

Permalink
Merge pull request #425 from Fedosin/chart_env
Browse files Browse the repository at this point in the history
✨ Add "env" section support to the helm chart
  • Loading branch information
k8s-ci-robot authored Feb 19, 2024
2 parents 9ccc6d1 + 6149817 commit f4c7c0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hack/charts/cluster-api-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ spec:
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.env.manager }}
env:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.containerSecurityContext.manager }}
securityContext:
{{- toYaml . | nindent 12 }}
Expand Down
2 changes: 2 additions & 0 deletions hack/charts/cluster-api-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ image:
repository: gcr.io/k8s-staging-capi-operator/cluster-api-operator
tag: dev
pullPolicy: IfNotPresent
env:
manager: []
healthAddr: ":8081"
metricsBindAddr: "127.0.0.1:8080"
diagnosticsAddress: "8443"
Expand Down

0 comments on commit f4c7c0b

Please sign in to comment.