Skip to content

Instantly share code, notes, and snippets.

@SergK
Created November 4, 2022 16:16
Show Gist options
  • Save SergK/0747935bec09cb8a2407bc15613203c2 to your computer and use it in GitHub Desktop.
Save SergK/0747935bec09cb8a2407bc15613203c2 to your computer and use it in GitHub Desktop.
ReportPortal OpenShift SCC
apiVersion: security.openshift.io/v1
kind: SecurityContextConstraints
metadata:
annotations:
"helm.sh/hook": "pre-install"
name: report-portal
allowHostDirVolumePlugin: false
allowHostIPC: false
allowHostNetwork: false
allowHostPID: false
allowHostPorts: false
allowPrivilegedContainer: true
allowedCapabilities: []
allowedFlexVolumes: []
defaultAddCapabilities: []
fsGroup:
type: MustRunAs
ranges:
- max: 1000
min: 1000
groups: []
priority: 0
readOnlyRootFilesystem: false
requiredDropCapabilities: []
runAsUser:
type: MustRunAsRange
uidRangeMax: 1000
uidRangeMin: 0
seLinuxContext:
type: MustRunAs
supplementalGroups:
type: RunAsAny
users:
- system:serviceaccount:report-portal:reportportal
volumes:
- configMap
- downwardAPI
- emptyDir
- persistentVolumeClaim
- projected
- secret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment