Add matrix deploy role
This commit is contained in:
parent
132a2dd771
commit
666b81af9c
43
k8s/matrix/matrix-deploy-role.yaml
Normal file
43
k8s/matrix/matrix-deploy-role.yaml
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: Role
|
||||||
|
metadata:
|
||||||
|
namespace: btsystem-registry
|
||||||
|
name: btsystemregistry-reader
|
||||||
|
rules:
|
||||||
|
- apiGroups: [""] # "" indicates the core API group
|
||||||
|
resources:
|
||||||
|
- pods
|
||||||
|
- configmaps
|
||||||
|
- events
|
||||||
|
- limitranges
|
||||||
|
- persistentvolumeclaims
|
||||||
|
- podtemplates
|
||||||
|
- replicationcontrollers
|
||||||
|
- resourcequotas
|
||||||
|
- secrets
|
||||||
|
- services
|
||||||
|
- controllerrevisions
|
||||||
|
- daemonsets
|
||||||
|
- deployments
|
||||||
|
- replicasets
|
||||||
|
- statefulsets
|
||||||
|
- localsubjectaccessreviews
|
||||||
|
- horizontalpodautoscalers
|
||||||
|
- cronjobs
|
||||||
|
- jobs
|
||||||
|
- leases
|
||||||
|
- networkpolicies
|
||||||
|
- networksets
|
||||||
|
- endpointslices
|
||||||
|
- events
|
||||||
|
- ingresses
|
||||||
|
- networkpolicies
|
||||||
|
- objectbucketclaims
|
||||||
|
- poddisruptionbudgets
|
||||||
|
- rolebindings
|
||||||
|
- roles
|
||||||
|
- csistoragecapacities
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- watch
|
||||||
|
- list
|
7
k8s/matrix/matrix-namespace.yaml
Normal file
7
k8s/matrix/matrix-namespace.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: matrix
|
||||||
|
labels:
|
||||||
|
name: matrix
|
Loading…
Reference in a new issue