diff --git a/hack/charts/cluster-api-operator/templates/deployment.yaml b/hack/charts/cluster-api-operator/templates/deployment.yaml index 806d0b1c1..ef1903474 100644 --- a/hack/charts/cluster-api-operator/templates/deployment.yaml +++ b/hack/charts/cluster-api-operator/templates/deployment.yaml @@ -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 }} diff --git a/hack/charts/cluster-api-operator/values.yaml b/hack/charts/cluster-api-operator/values.yaml index d19ae1014..aea3cdd2d 100644 --- a/hack/charts/cluster-api-operator/values.yaml +++ b/hack/charts/cluster-api-operator/values.yaml @@ -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"