Skip to content

Commit b3c5683

Browse files
authored
Merge pull request #54 from cyrgim/feat/extra-env-support
feat(helm): add extraEnv support to manager container
2 parents 83795c0 + 6bcccd0 commit b3c5683

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

helm-charts/secrets-operator/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ spec:
3434
env:
3535
- name: KUBERNETES_CLUSTER_DOMAIN
3636
value: {{ quote .Values.kubernetesClusterDomain }}
37+
{{- with .Values.controllerManager.manager.extraEnv }}
38+
{{- toYaml . | nindent 8 }}
39+
{{- end }}
3740
image: {{ .Values.controllerManager.manager.image.repository }}:{{ .Values.controllerManager.manager.image.tag
3841
| default .Chart.AppVersion }}
3942
livenessProbe:

helm-charts/secrets-operator/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ controllerManager:
2626
requests:
2727
cpu: 10m
2828
memory: 64Mi
29+
# -- Extra environment variables to add to the manager container
30+
extraEnv: []
2931
podSecurityContext:
3032
runAsNonRoot: true
3133
seccompProfile:

0 commit comments

Comments
 (0)