added restricted-hostpath scc

added role and binding for peanutflix for restricted-hostpath
This commit is contained in:
2026-01-12 19:42:54 +11:00
parent 28c3d4ea96
commit 465811c017
3 changed files with 50 additions and 0 deletions

View File

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