Merge pull request #15586 from rook/mergify/bp/release-1.16/pr-15553
operator: Set dns policy for host network if needed (backport #15553)
This commit is contained in:
3 files changed
+8
-2
No files matched your search
@@ -118,6 +118,7 @@ spec:
|
||||
{{- end }}
|
||||
{{- if .Values.useOperatorHostNetwork }}
|
||||
hostNetwork: true
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
{{- end }}
|
||||
{{- if .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
|
||||
@@ -754,6 +754,10 @@ spec:
|
||||
#- name: LIB_BUCKET_PROVISIONER_THREADS
|
||||
# value: "5"
|
||||
|
||||
# Uncomment these two settings to run the operator on the host network
|
||||
# hostNetwork: true
|
||||
# dnsPolicy: ClusterFirstWithHostNet
|
||||
|
||||
volumes:
|
||||
- name: rook-config
|
||||
emptyDir: {}
|
||||
|
||||
@@ -681,8 +681,9 @@ spec:
|
||||
#- name: LIB_BUCKET_PROVISIONER_THREADS
|
||||
# value: "5"
|
||||
|
||||
# Uncomment it to run rook operator on the host network
|
||||
#hostNetwork: true
|
||||
# Uncomment these two settings to run the operator on the host network
|
||||
# hostNetwork: true
|
||||
# dnsPolicy: ClusterFirstWithHostNet
|
||||
volumes:
|
||||
- name: rook-config
|
||||
emptyDir: {}
|
||||
|
||||
Reference in new issue
Block a user