Skip to content

Commit 0e8ee4b

Browse files
committed
feat: container.extraEnv for env variables for better separation
On-behalf-of: Radek Schekalla (SAP) <[email protected]> Signed-off-by: Radek Schekalla (SAP) <[email protected]>
1 parent 6d5af2a commit 0e8ee4b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

charts/mcp-operator/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ spec:
9292
- --apiserver-worker-interval={{ .Values.apiserver.worker.intervalTime }}
9393
{{- end }}
9494
env:
95-
{{- with .Values.managedcontrolplane.extraEnv }}
95+
{{- with .Values.container.extraEnv }}
9696
{{- toYaml . | nindent 10 }}
9797
{{- end }}
9898
ports:

charts/mcp-operator/values.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ webhooks:
5454
managedcontrolplane:
5555
disabled: false
5656

57-
# Extra environment variables to add to the init container.
58-
extraEnv: [ ]
57+
container:
58+
# Extra environment variables to add to the container.
59+
extraEnv: []
5960

6061
apiserver:
6162
disabled: false

0 commit comments

Comments
 (0)