Merge pull request #16358 from rook/mergify/bp/release-1.18/pr-16343

helm: Enable host network for OpenShift if needed (backport #16343)
This commit is contained in:
Travis Nielsen authored and GitHub committed 2025-08-20 10:47:36 -06:00
commit fbebb5d257
2 files changed
+10 -4

No files matched your search

@@ -8,10 +8,13 @@ metadata:
allowPrivilegedContainer: true
allowHostDirVolumePlugin: true
allowHostPID: false
# set to true if running rook with host networking enabled
{{- if eq .Values.cephClusterSpec.network.provider "host" }}
allowHostNetwork: true
allowHostPorts: true
{{- else }}
allowHostNetwork: false
# set to true if running rook with the provider as host
allowHostPorts: false
{{- end }}
priority:
allowedCapabilities: ["MKNOD"]
allowHostIPC: true
@@ -8,10 +8,13 @@ metadata:
allowPrivilegedContainer: true
allowHostDirVolumePlugin: true
allowHostPID: false
# set to true if running rook with host networking enabled
{{- if .Values.useOperatorHostNetwork }}
allowHostNetwork: true
allowHostPorts: true
{{- else }}
allowHostNetwork: false
# set to true if running rook with the provider as host
allowHostPorts: false
{{- end }}
priority:
allowedCapabilities: ["MKNOD"]
allowHostIPC: true