2024-04-17 13:22:04 +00:00
|
|
|
---
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
kind: ClusterRole
|
|
|
|
metadata:
|
|
|
|
name: gateway-role
|
|
|
|
rules:
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
|
|
|
resources:
|
|
|
|
- namespaces
|
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
|
|
|
resources:
|
|
|
|
- services
|
|
|
|
- secrets
|
2024-09-17 08:50:04 +00:00
|
|
|
- configmaps
|
2024-04-17 13:22:04 +00:00
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
2024-06-21 12:56:03 +00:00
|
|
|
- apiGroups:
|
|
|
|
- discovery.k8s.io
|
|
|
|
resources:
|
|
|
|
- endpointslices
|
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
2024-04-17 13:22:04 +00:00
|
|
|
- apiGroups:
|
|
|
|
- gateway.networking.k8s.io
|
|
|
|
resources:
|
|
|
|
- gatewayclasses
|
|
|
|
- gateways
|
|
|
|
- httproutes
|
2024-08-30 08:36:06 +00:00
|
|
|
- grpcroutes
|
2024-04-17 13:22:04 +00:00
|
|
|
- tcproutes
|
|
|
|
- tlsroutes
|
|
|
|
- referencegrants
|
2024-09-17 08:50:04 +00:00
|
|
|
- backendtlspolicies
|
2024-04-17 13:22:04 +00:00
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- gateway.networking.k8s.io
|
|
|
|
resources:
|
|
|
|
- gatewayclasses/status
|
|
|
|
- gateways/status
|
|
|
|
- httproutes/status
|
2024-08-30 08:36:06 +00:00
|
|
|
- grpcroutes/status
|
2024-04-17 13:22:04 +00:00
|
|
|
- tcproutes/status
|
|
|
|
- tlsroutes/status
|
|
|
|
- referencegrants/status
|
2024-09-17 08:50:04 +00:00
|
|
|
- backendtlspolicies/status
|
2024-04-17 13:22:04 +00:00
|
|
|
verbs:
|
|
|
|
- update
|
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
kind: ClusterRoleBinding
|
|
|
|
metadata:
|
|
|
|
name: traefik
|
|
|
|
roleRef:
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|
|
|
|
kind: ClusterRole
|
|
|
|
name: gateway-role
|
|
|
|
subjects:
|
|
|
|
- kind: ServiceAccount
|
|
|
|
name: traefik
|
|
|
|
namespace: traefik
|