rancher-partner-charts/charts/nutanix-csi-storage/templates/ntnx-cs-scc.yaml

30 lines
725 B
YAML
Raw Normal View History

2021-02-25 20:17:31 +00:00
{{- if eq .Values.os "openshift4"}}
kind: SecurityContextConstraints
apiVersion: security.openshift.io/v1
metadata:
name: ntnx-csi-scc
allowHostDirVolumePlugin: true
allowHostIPC: false
allowHostNetwork: true
allowHostPID: false
allowHostPorts: true
allowPrivilegeEscalation: true
allowPrivilegedContainer: true
allowedCapabilities: []
defaultAddCapabilities: []
fsGroup:
type: RunAsAny
groups: []
priority:
readOnlyRootFilesystem: false
requiredDropCapabilities: []
runAsUser:
type: RunAsAny
seLinuxContext:
type: RunAsAny
supplementalGroups:
type: RunAsAny
users:
- system:serviceaccount:{{ .Release.Namespace }}:csi-provisioner
- system:serviceaccount:{{ .Release.Namespace }}:csi-node-ntnx-plugin
{{- end}}