[FLINK-36686] add operatorPod.webhook.container.env in helm chart to allow customizating of flink-webhook container envs
diff --git a/docs/content/docs/operations/helm.md b/docs/content/docs/operations/helm.md
index 16c529a..bc5fbfb 100644
--- a/docs/content/docs/operations/helm.md
+++ b/docs/content/docs/operations/helm.md
@@ -89,6 +89,7 @@
 | operatorPod.topologySpreadConstraints          | Custom topologySpreadConstraints to be added to the operator pod.                                                                                              |                                                                                                                                                                                                                                                                                                |
 | operatorPod.resources                          | Custom resources block to be added to the operator pod on main container.                                                                                      |                                                                                                                                                                                                                                                                                                |
 | operatorPod.webhook.resources                  | Custom resources block to be added to the operator pod on flink-webhook container.                                                                             |                                                                                                                                                                                                                                                                                                |
+| operatorPod.webhook.container.env              | Custom env to be added to the flink-webhook container                                                                             |                            |
 | operatorPod.tolerations                        | Custom tolerations to be added to the operator pod.                                                                                                            |                                                                                                                                                                                                                                                                                                |
 | operatorServiceAccount.create                  | Whether to enable operator service account to create for flink-kubernetes-operator.                                                                            | true                                                                                                                                                                                                                                                                                           |
 | operatorServiceAccount.annotations             | The annotations of operator service account.                                                                                                                   |                                                                                                                                                                                                                                                                                                |
diff --git a/helm/flink-kubernetes-operator/templates/flink-operator.yaml b/helm/flink-kubernetes-operator/templates/flink-operator.yaml
index 9146c0f..9621f8f 100644
--- a/helm/flink-kubernetes-operator/templates/flink-operator.yaml
+++ b/helm/flink-kubernetes-operator/templates/flink-operator.yaml
@@ -207,6 +207,9 @@
               valueFrom:
                 fieldRef:
                   fieldPath: metadata.namespace
+            {{- with .Values.operatorPod.webhook.container.env }}
+            {{- toYaml . | nindent 12 }}
+            {{- end }}
           resources:
             {{- toYaml .Values.operatorPod.webhook.resources | nindent 12 }}
           securityContext:
diff --git a/helm/flink-kubernetes-operator/values.yaml b/helm/flink-kubernetes-operator/values.yaml
index f2c3172..824b265 100644
--- a/helm/flink-kubernetes-operator/values.yaml
+++ b/helm/flink-kubernetes-operator/values.yaml
@@ -62,6 +62,8 @@
   priorityClassName: null
   annotations: {}
   labels: {}
+  # The env variables only apply to the operator container in the operator pod
+  # TODO: consider making this pod level env variables
   env:
   # - name: ""
   #   value: ""
@@ -96,6 +98,10 @@
   #     memory: "512Mi"
   webhook:
     resources: {}
+    container:
+      env:
+      # - name: ""
+      #   value: ""
 
 operatorServiceAccount:
   create: true