Merge pull request #3541 from nicon89/fix_gw-api_clusterrole

Adding missing gateway-httproute cluster role permission
This commit is contained in:
Kubernetes Prow Robot 2023-04-13 11:42:39 -07:00 committed by GitHub
commit cf79d37a10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,6 +70,11 @@ rules:
resources: ["httproutes"]
verbs: ["get","watch","list"]
{{- end }}
{{- if has "gateway-httproute" .Values.sources }}
- apiGroups: [""]
resources: ["namespaces"]
verbs: ["get","watch","list"]
{{- end }}
{{- if has "gateway-grpcroute" .Values.sources }}
- apiGroups: ["gateway.networking.k8s.io"]
resources: ["grpcroutes"]