Skip to content

Commit

Permalink
remove undefined allowedVolumeTypes property in scc
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jtriley committed Nov 19, 2024
1 parent 6a3a6a2 commit af84c8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ allowHostPID: false
allowPrivilegedContainer: true
allowHostDirVolumePlugin: true
allowHostNetwork: true
allowedVolumeTypes:
- hostPath
- secret
readOnlyRootFilesystem: false
allowHostPorts: true
runAsUser:
Expand All @@ -23,3 +20,5 @@ supplementalGroups:
type: RunAsAny
users:
- system:serviceaccount:csi-wekafsplugin:csi-wekafsplugin-controller
volumes:
- '*'
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ allowHostPID: false
allowPrivilegedContainer: true
allowHostDirVolumePlugin: true
allowHostNetwork: true
allowedVolumeTypes:
- hostPath
- secret
readOnlyRootFilesystem: false
allowHostPorts: true
runAsUser:
Expand All @@ -23,3 +20,5 @@ supplementalGroups:
type: RunAsAny
users:
- system:serviceaccount:csi-wekafsplugin:csi-wekafsplugin-node
volumes:
- '*'

0 comments on commit af84c8a

Please sign in to comment.