Add some manifests for badhouseplants

This commit is contained in:
Nikolai Rodionov 2023-11-04 19:54:19 +01:00
parent b9954063cb
commit 654731b7ef
No known key found for this signature in database
GPG Key ID: 19DB54039EBF8F10
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: namespace-manager
subjects:
- kind: User
name: badhousplants
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: ClusterRole
name: namespace-manager
apiGroup: rbac.authorization.k8s.io

View File

@ -0,0 +1,8 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: namespace-manager
rules:
- apiGroups: [""]
resources: ["namespaces"]
verbs: ["get", "watch", "list", "create", "delete"]