mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-07 01:56:57 +02:00
Add Istio permissions to cluster role
This commit is contained in:
parent
4c66715a61
commit
e46c48f492
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: external-dns
|
name: external-dns
|
||||||
description: ExternalDNS synchronizes exposed Kubernetes Services and Ingresses with DNS providers.
|
description: ExternalDNS synchronizes exposed Kubernetes Services and Ingresses with DNS providers.
|
||||||
type: application
|
type: application
|
||||||
version: 1.4.0
|
version: 1.4.1
|
||||||
appVersion: 0.10.1
|
appVersion: 0.10.1
|
||||||
keywords:
|
keywords:
|
||||||
- kubernetes
|
- kubernetes
|
||||||
|
@ -15,4 +15,14 @@ rules:
|
|||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["nodes"]
|
resources: ["nodes"]
|
||||||
verbs: ["list","watch"]
|
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 }}
|
{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user