diff --git a/helm/flink-kubernetes-operator/templates/flink-operator.yaml b/helm/flink-kubernetes-operator/templates/flink-operator.yaml index 9621f8f0bd..3dfb794ba5 100644 --- a/helm/flink-kubernetes-operator/templates/flink-operator.yaml +++ b/helm/flink-kubernetes-operator/templates/flink-operator.yaml @@ -57,6 +57,7 @@ spec: {{- end }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} + hostNetwork: {{ .Values.operatorPod.hostNetwork }} {{- if .Values.operatorPod.nodeSelector }} nodeSelector: {{ toYaml .Values.operatorPod.nodeSelector | nindent 8 }} {{- end }} diff --git a/helm/flink-kubernetes-operator/values.yaml b/helm/flink-kubernetes-operator/values.yaml index 824b265938..f27de4a3e3 100644 --- a/helm/flink-kubernetes-operator/values.yaml +++ b/helm/flink-kubernetes-operator/values.yaml @@ -60,6 +60,7 @@ rbac: operatorPod: priorityClassName: null + hostNetwork: false annotations: {} labels: {} # The env variables only apply to the operator container in the operator pod