Merge pull request #16343 from travisn/hostnet-scc

helm: Enable host network for OpenShift if needed
This commit is contained in:
Travis Nielsen authored and GitHub committed 2025-08-20 10:11:25 -06:00
commit ffcb0d31d6
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