Skip to content

Commit eadf483

Browse files
committed
Add RBAC for kubernetes-unit-costs
Signed-off-by: Mikkel Oscar Lyderik Larsen <[email protected]>
1 parent 3dae3cf commit eadf483

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
name: kubernetes-unit-costs
5+
labels:
6+
application: kubernetes-unit-costs
7+
rules:
8+
- apiGroups:
9+
- ""
10+
resources:
11+
- pods
12+
- nodes
13+
verbs:
14+
- get
15+
- list
16+
- watch
17+
---
18+
apiVersion: rbac.authorization.k8s.io/v1
19+
kind: ClusterRoleBinding
20+
metadata:
21+
name: kubernetes-unit-costs
22+
labels:
23+
application: kubernetes-unit-costs
24+
roleRef:
25+
apiGroup: rbac.authorization.k8s.io
26+
kind: ClusterRole
27+
name: kubernetes-unit-costs
28+
subjects:
29+
- apiGroup: rbac.authorization.k8s.io
30+
kind: User
31+
name: zalando-iam:zalando:service:stups_kubernetes-unit-costs

0 commit comments

Comments
 (0)