-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2.4.0 instructions and broken out SCCs (#189)
Signed-off-by: Michael Mattsson <[email protected]>
- Loading branch information
1 parent
eba0e44
commit 2520e61
Showing
12 changed files
with
140 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
103 changes: 103 additions & 0 deletions
103
docs/partners/redhat_openshift/examples/scc/hpe-csi-scc.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
--- | ||
kind: SecurityContextConstraints | ||
apiVersion: security.openshift.io/v1 | ||
metadata: | ||
name: hpe-csi-controller-scc | ||
allowHostDirVolumePlugin: true | ||
allowHostIPC: true | ||
allowHostNetwork: true | ||
allowHostPID: true | ||
allowHostPorts: true | ||
readOnlyRootFilesystem: true | ||
requiredDropCapabilities: [] | ||
runAsUser: | ||
type: RunAsAny | ||
seLinuxContext: | ||
type: RunAsAny | ||
users: | ||
- system:serviceaccount:hpe-storage:hpe-csi-controller-sa | ||
volumes: | ||
- hostPath | ||
- emptyDir | ||
- projected | ||
--- | ||
kind: SecurityContextConstraints | ||
apiVersion: security.openshift.io/v1 | ||
metadata: | ||
name: hpe-csi-node-scc | ||
allowHostDirVolumePlugin: true | ||
allowHostIPC: true | ||
allowHostNetwork: true | ||
allowHostPID: true | ||
allowHostPorts: true | ||
allowPrivilegeEscalation: true | ||
allowPrivilegedContainer: true | ||
allowedCapabilities: | ||
- SYS_ADMIN | ||
defaultAddCapabilities: [] | ||
fsGroup: | ||
type: RunAsAny | ||
groups: [] | ||
priority: | ||
readOnlyRootFilesystem: false | ||
requiredDropCapabilities: [] | ||
runAsUser: | ||
type: RunAsAny | ||
seLinuxContext: | ||
type: RunAsAny | ||
supplementalGroups: | ||
type: RunAsAny | ||
users: | ||
- system:serviceaccount:hpe-storage:hpe-csi-node-sa | ||
volumes: | ||
- emptyDir | ||
- hostPath | ||
- projected | ||
- configMap | ||
--- | ||
kind: SecurityContextConstraints | ||
apiVersion: security.openshift.io/v1 | ||
metadata: | ||
name: hpe-csi-csp-scc | ||
allowHostDirVolumePlugin: true | ||
readOnlyRootFilesystem: true | ||
runAsUser: | ||
type: RunAsAny | ||
seLinuxContext: | ||
type: RunAsAny | ||
#supplementalGroups: | ||
# type: RunAsAny | ||
users: | ||
- system:serviceaccount:hpe-storage:hpe-csp-sa | ||
volumes: | ||
- hostPath | ||
- emptyDir | ||
- projected | ||
--- | ||
kind: SecurityContextConstraints | ||
apiVersion: security.openshift.io/v1 | ||
metadata: | ||
name: hpe-csi-nfs-scc | ||
allowPrivilegedContainer: true | ||
allowPrivilegeEscalation: true | ||
allowedCapabilities: | ||
- SYS_ADMIN | ||
- DAC_READ_SEARCH | ||
defaultAddCapabilities: [] | ||
fsGroup: | ||
type: RunAsAny | ||
groups: [] | ||
readOnlyRootFilesystem: false | ||
requiredDropCapabilities: [] | ||
runAsUser: | ||
type: RunAsAny | ||
seLinuxContext: | ||
type: RunAsAny | ||
supplementalGroups: | ||
type: RunAsAny | ||
users: | ||
- system:serviceaccount:hpe-nfs:hpe-csi-nfs-sa | ||
volumes: | ||
- persistentVolumeClaim | ||
- configMap | ||
- projected |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters