add minio-restricted scc

This commit is contained in:
2026-01-14 17:42:40 +11:00
parent 8b65362c75
commit 1c49eaeca8
3 changed files with 49 additions and 0 deletions

BIN
manifests/.DS_Store vendored

Binary file not shown.

View File

@@ -0,0 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: calibre-sa-restricted-s6
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:openshift:scc:restricted-s6
subjects:
- kind: ServiceAccount
name: calibre-sa
namespace: calibre

View File

@@ -0,0 +1,37 @@
apiVersion: security.openshift.io/v1
kind: SecurityContextConstraints
metadata:
name: minio-restricted
allowHostDirVolumePlugin: false
allowHostIPC: false
allowHostNetwork: false
allowHostPID: false
allowHostPorts: false
allowPrivilegeEscalation: false
allowPrivilegedContainer: false
allowedCapabilities: null
defaultAddCapabilities: null
fsGroup:
type: MustRunAs
ranges:
- min: 1000
max: 1000
priority: null
readOnlyRootFilesystem: false
requiredDropCapabilities:
- MKNOD
- ALL
runAsUser:
type: MustRunAs
uid: 501
seLinuxContext:
type: MustRunAs
supplementalGroups:
type: RunAsAny
volumes:
- configMap
- downwardAPI
- emptyDir
- persistentVolumeClaim
- projected
- secret