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
|
|
|
|
- secrets
|
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
2024-06-21 12:56:03 +00:00
|
|
|
- apiGroups:
|
|
|
|
- discovery.k8s.io
|
|
|
|
resources:
|
|
|
|
- endpointslices
|
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
2020-12-15 15:40:05 +00:00
|
|
|
- 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
|
2024-08-30 08:36:06 +00:00
|
|
|
- grpcroutes
|
2024-02-26 07:50:04 +00:00
|
|
|
- referencegrants
|
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
|
2024-08-30 08:36:06 +00:00
|
|
|
- grpcroutes/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
|