Add some manifests for badhouseplants
This commit is contained in:
parent
b9954063cb
commit
654731b7ef
12
manifests/badhouseplants/namespace-creator-binding.yaml
Normal file
12
manifests/badhouseplants/namespace-creator-binding.yaml
Normal 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
|
8
manifests/badhouseplants/namespace-creator-role.yaml
Normal file
8
manifests/badhouseplants/namespace-creator-role.yaml
Normal 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"]
|
Reference in New Issue
Block a user