Add Istio permissions to cluster role

This commit is contained in:
Andrew Haines 2021-08-25 15:13:56 +01:00
parent 4c66715a61
commit e46c48f492
No known key found for this signature in database
GPG Key ID: B16A6F178227A23E
2 changed files with 11 additions and 1 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: external-dns
description: ExternalDNS synchronizes exposed Kubernetes Services and Ingresses with DNS providers.
type: application
version: 1.4.0
version: 1.4.1
appVersion: 0.10.1
keywords:
- kubernetes

View File

@ -15,4 +15,14 @@ rules:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["list","watch"]
{{- if has "istio-gateway" .Values.sources }}
- apiGroups: ["networking.istio.io"]
resources: ["gateways"]
verbs: ["get","watch","list"]
{{- end }}
{{- if has "istio-virtualservice" .Values.sources }}
- apiGroups: ["networking.istio.io"]
resources: ["virtualservices"]
verbs: ["get","watch","list"]
{{- end }}
{{- end }}