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:
mergify[bot] authored and GitHub committed 2025-03-25 23:57:21 +00:00
commit 33cff85aa4
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:
+4
View File
@@ -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: {}
+3 -2
View File
@@ -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: {}