Add istio-gateway permissions on source istio-virtualservice

This commit is contained in:
Matthew Warman 2022-02-01 15:28:14 +00:00
parent 600111f83d
commit dedf088fad

View File

@ -30,7 +30,7 @@ rules:
verbs: ["get","watch","list"] verbs: ["get","watch","list"]
{{- end }} {{- end }}
{{- if has "istio-gateway" .Values.sources }} {{- if or (has "istio-gateway" .Values.sources) (has "istio-virtualservice" .Values.sources) }}
- apiGroups: ["networking.istio.io"] - apiGroups: ["networking.istio.io"]
resources: ["gateways"] resources: ["gateways"]
verbs: ["get","watch","list"] verbs: ["get","watch","list"]