2020-12-15 15:40:05 +00:00
|
|
|
---
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
kind: ClusterRole
|
|
|
|
metadata:
|
|
|
|
name: gateway-role
|
|
|
|
rules:
|
2021-10-04 13:46:08 +00:00
|
|
|
- apiGroups:
|
|
|
|
- ""
|
|
|
|
resources:
|
|
|
|
- namespaces
|
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
2020-12-15 15:40:05 +00:00
|
|
|
- apiGroups:
|
|
|
|
- ""
|
|
|
|
resources:
|
|
|
|
- services
|
|
|
|
- endpoints
|
|
|
|
- secrets
|
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
2021-11-09 10:34:06 +00:00
|
|
|
- gateway.networking.k8s.io
|
2020-12-15 15:40:05 +00:00
|
|
|
resources:
|
|
|
|
- gatewayclasses
|
|
|
|
- gateways
|
|
|
|
- httproutes
|
2021-05-20 09:50:12 +00:00
|
|
|
- tcproutes
|
|
|
|
- tlsroutes
|
2020-12-15 15:40:05 +00:00
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
2021-11-09 10:34:06 +00:00
|
|
|
- gateway.networking.k8s.io
|
2020-12-15 15:40:05 +00:00
|
|
|
resources:
|
|
|
|
- gatewayclasses/status
|
|
|
|
- gateways/status
|
|
|
|
- httproutes/status
|
2021-05-20 09:50:12 +00:00
|
|
|
- tcproutes/status
|
|
|
|
- tlsroutes/status
|
2020-12-15 15:40:05 +00:00
|
|
|
verbs:
|
|
|
|
- update
|
|
|
|
|
|
|
|
---
|
2021-10-21 07:44:12 +00:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
2020-12-15 15:40:05 +00:00
|
|
|
kind: ClusterRoleBinding
|
|
|
|
metadata:
|
|
|
|
name: gateway-controller
|
|
|
|
roleRef:
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|
|
|
|
kind: ClusterRole
|
|
|
|
name: gateway-role
|
|
|
|
subjects:
|
|
|
|
- kind: ServiceAccount
|
|
|
|
name: traefik-controller
|
|
|
|
namespace: default
|