Skip to content

Commit bd26262

Browse files
committed
remove undefined allowedVolumeTypes property in scc
Replaced this with volumes: ["*"] given that allowedVolumeTypes property doesn't exist. This is also the default value when the volumes property is not explicitly defined.
1 parent 4b01370 commit bd26262

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

csi-wekafsplugin/base/security.openshift.io/securitycontextconstraints/csi-wekafsplugin-controller-scc/securitycontextconstraints.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ allowHostPID: false
88
allowPrivilegedContainer: true
99
allowHostDirVolumePlugin: true
1010
allowHostNetwork: true
11-
allowedVolumeTypes:
12-
- hostPath
13-
- secret
1411
readOnlyRootFilesystem: false
1512
allowHostPorts: true
1613
runAsUser:
@@ -23,3 +20,5 @@ supplementalGroups:
2320
type: RunAsAny
2421
users:
2522
- system:serviceaccount:csi-wekafsplugin:csi-wekafsplugin-controller
23+
volumes:
24+
- '*'

csi-wekafsplugin/base/security.openshift.io/securitycontextconstraints/csi-wekafsplugin-node-scc/securitycontextconstraints.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ allowHostPID: false
88
allowPrivilegedContainer: true
99
allowHostDirVolumePlugin: true
1010
allowHostNetwork: true
11-
allowedVolumeTypes:
12-
- hostPath
13-
- secret
1411
readOnlyRootFilesystem: false
1512
allowHostPorts: true
1613
runAsUser:
@@ -23,3 +20,5 @@ supplementalGroups:
2320
type: RunAsAny
2421
users:
2522
- system:serviceaccount:csi-wekafsplugin:csi-wekafsplugin-node
23+
volumes:
24+
- '*'

0 commit comments

Comments
 (0)