-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclusterrole.json
More file actions
44 lines (44 loc) · 792 Bytes
/
clusterrole.json
File metadata and controls
44 lines (44 loc) · 792 Bytes
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
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: groveproxy-role
rules:
# Pods are queried to check for existence.
- apiGroups: [""]
resources:
- pods
verbs:
- get
- list
- create
- update
- delete
- watch
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: groveproxy
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: groveproxy-role
subjects:
- kind: ServiceAccount
name: groveproxy
namespace: dev
- kind: ServiceAccount
name: groveproxy
namespace: kslave-dev
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: groveproxy
namespace: dev
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: groveproxy
namespace: kslave-dev