Skip to content

Commit

Permalink
PWX-32497: fix portworx privileged SCC (#1164)
Browse files Browse the repository at this point in the history
* re-enabling the AllowHostPorts, since telemetry uses it

Signed-off-by: Zoran Rajic <zox@portworx.com>
  • Loading branch information
zoxpx committed Jul 25, 2023
1 parent af4ccf7 commit f01d234
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func (s *scc) getSCCs(cluster *opcorev1.StorageCluster) []ocp_secv1.SecurityCont
AllowHostIPC: false,
AllowHostNetwork: true,
AllowHostPID: false,
AllowHostPorts: false,
AllowHostPorts: true,
AllowPrivilegeEscalation: boolPtr(true),
AllowPrivilegedContainer: true,
AllowedUnsafeSysctls: []string{"*"},
Expand Down
2 changes: 1 addition & 1 deletion drivers/storage/portworx/testspec/portworxSCC.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ allowHostDirVolumePlugin: true
allowHostIPC: false
allowHostNetwork: true
allowHostPID: false
allowHostPorts: false
allowHostPorts: true
allowPrivilegeEscalation: true
allowPrivilegedContainer: true
allowedCapabilities:
Expand Down

0 comments on commit f01d234

Please sign in to comment.