Skip to content

Commit 547c911

Browse files
Add ability to set additional environment variables on the operator controller (#948)
1 parent 036bd02 commit 547c911

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

dask_kubernetes/operator/deployment/helm/dask-kubernetes-operator/templates/deployment.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ spec:
4141
- name: DASK_KUBERNETES__CONTROLLER__WORKER_ALLOCATION__DELAY
4242
value: {{ . | quote }}
4343
{{- end }}
44+
{{- with .Values.extraEnv }}
45+
{{- toYaml . | nindent 12 }}
46+
{{- end }}
4447
args:
4548
- --liveness=http://0.0.0.0:8080/healthz
4649
{{- with .Values.kopfArgs }}

dask_kubernetes/operator/deployment/helm/dask-kubernetes-operator/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ volumes: [] # Volumes for the operator pod
4646

4747
volumeMounts: [] # Volume mounts for the operator container
4848

49+
extraEnv: [] # Extra environment variables for the operator container
50+
4951
nodeSelector: {} # Node selector
5052

5153
tolerations: [] # Tolerations

0 commit comments

Comments
 (0)