-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrbac.yaml
More file actions
60 lines (60 loc) · 1.1 KB
/
rbac.yaml
File metadata and controls
60 lines (60 loc) · 1.1 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
apiVersion: v1
kind: ServiceAccount
metadata:
namespace: kube-system
name: stackit-application-load-balancer-contoller-manager
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: stackit-application-load-balancer-contoller-manager
rules:
# TODO(jamand): Go through rules again
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- update
- apiGroups:
- ""
resources:
- nodes
verbs:
- list
- apiGroups:
- "networking.k8s.io"
resources:
- ingress
verbs:
- get
- apiGroups:
- "networking.k8s.io"
resources:
- ingress/status
verbs:
- patch
- apiGroups:
- "networking.k8s.io"
resources:
- ingressclass
verbs:
- list
- patch
- update
- watch
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: stackit-application-load-balancer-contoller-manager
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: stackit-application-load-balancer-contoller-manager
subjects:
- kind: ServiceAccount
name: stackit-application-load-balancer-contoller-manager
namespace: kube-system