Skip to content

Commit 4e3d0ed

Browse files
committed
feat(charts): Add extraEnv to Helm charts
Signed-off-by: Jan Schoone <[email protected]>
1 parent 2c1929d commit 4e3d0ed

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

charts/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ spec:
2929
- -source
3030
- {{ .Values.controllerManager.manager.source }}
3131
env:
32+
{{- with .Values.controllerManager.manager.extraEnv }}
33+
{{- toYaml . | nindent 8 }}
34+
{{- end }}
3235
{{- if eq .Values.controllerManager.manager.source "github" }}
3336
- name: GIT_PROVIDER
3437
valueFrom:

charts/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ clusterStackVariables:
1010
ociUsername: ""
1111
controllerManager:
1212
manager:
13+
extraEnv: []
1314
source: oci
1415
args:
1516
- --leader-elect=true

0 commit comments

Comments
 (0)