Skip to content

Commit 6048ff9

Browse files
committed
Add hostNetwork for operator pod, default false
1 parent 5d301d1 commit 6048ff9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ spec:
5757
{{- end }}
5858
securityContext:
5959
{{- toYaml .Values.podSecurityContext | nindent 8 }}
60+
hostNetwork: {{ .Values.operatorPod.hostNetwork }}
6061
{{- if .Values.operatorPod.nodeSelector }}
6162
nodeSelector: {{ toYaml .Values.operatorPod.nodeSelector | nindent 8 }}
6263
{{- end }}

helm/flink-kubernetes-operator/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ rbac:
6060

6161
operatorPod:
6262
priorityClassName: null
63+
hostNetwork: false
6364
annotations: {}
6465
labels: {}
6566
# The env variables only apply to the operator container in the operator pod

0 commit comments

Comments
 (0)