-
Notifications
You must be signed in to change notification settings - Fork 0
/
role.yaml
46 lines (46 loc) · 864 Bytes
/
role.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/v1
metadata:
name: allow-linkerd-identity-to-cr
namespace: linkerd
rules:
- apiGroups:
- "cert-manager.io"
resources:
- "certificaterequests"
verbs:
- "get"
- "list"
- "create"
- "update"
- "delete"
- "watch"
- apiGroups:
- "coordination.k8s.io"
resources:
- "leases"
verbs:
- "get"
- "create"
- "update"
- "watch"
- "list"
- apiGroups: [""]
resources: ["events"]
verbs: ["create"]
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: linkerd-identity
namespace: linkerd
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: allow-linkerd-identity-to-cr
subjects:
- kind: ServiceAccount
name: linkerd-identity
namespace: linkerd
---