-
Notifications
You must be signed in to change notification settings - Fork 11
/
rbac.yaml
46 lines (44 loc) · 680 Bytes
/
rbac.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: pvc-operator
rules:
- apiGroups:
- banzaicloud.com
resources:
- "*"
verbs:
- "*"
- apiGroups:
- ""
resources:
- pods
- services
- endpoints
- persistentvolumeclaims
- events
- configmaps
- secrets
verbs:
- "*"
- apiGroups:
- apps
resources:
- deployments
- daemonsets
- replicasets
- statefulsets
verbs:
- "*"
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: default-account-pvc-operator
subjects:
- kind: ServiceAccount
name: default
roleRef:
kind: Role
name: pvc-operator
apiGroup: rbac.authorization.k8s.io