Skip to content

Commit c22b473

Browse files
committed
[FLINK-36686] add operatorPod.webhook.container.env in helm chart to allow customizating of flink-webhook container envs
1 parent 670bfcf commit c22b473

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

helm/flink-kubernetes-operator/templates/flink-operator.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ spec:
207207
valueFrom:
208208
fieldRef:
209209
fieldPath: metadata.namespace
210+
{{- with .Values.operatorPod.webhook.container.env }}
211+
{{- toYaml . | nindent 12 }}
212+
{{- end }}
210213
resources:
211214
{{- toYaml .Values.operatorPod.webhook.resources | nindent 12 }}
212215
securityContext:

helm/flink-kubernetes-operator/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ operatorPod:
6262
priorityClassName: null
6363
annotations: {}
6464
labels: {}
65+
# The env variables only apply to the operator container in the operator pod
66+
# TODO: consider making this pod level env variables
6567
env:
6668
# - name: ""
6769
# value: ""
@@ -96,6 +98,10 @@ operatorPod:
9698
# memory: "512Mi"
9799
webhook:
98100
resources: {}
101+
container:
102+
env:
103+
# - name: ""
104+
# value: ""
99105

100106
operatorServiceAccount:
101107
create: true

0 commit comments

Comments
 (0)