Skip to content

Commit 659bb19

Browse files
maorhalevi-sooded-s1
authored andcommitted
charts: templates: platforms: openshift: fix scc for
helper that runs on hostnetwork
1 parent dacbf79 commit 659bb19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/s1-agent/templates/platforms/openshift/openshift.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ allowHostDirVolumePlugin: true
1414
allowHostIPC: false
1515
allowHostNetwork: true
1616
allowHostPID: true
17-
allowHostPorts: false
17+
allowHostPorts: {{ .Values.configuration.env.helper.hostNetwork }} # Running openshift with helper on host network takes ports from host
1818
allowedCapabilities: {{ toYaml .Values.agent.capabilities | nindent 2 }}
1919
fsGroup:
2020
type: RunAsAny

0 commit comments

Comments
 (0)