Skip to content

Commit

Permalink
Merge pull request #2248 from haines/helm-chart-cluster-role-permissions
Browse files Browse the repository at this point in the history
Add Istio permissions to cluster role
  • Loading branch information
k8s-ci-robot authored Nov 3, 2021
2 parents 39931b7 + e46c48f commit ab7a965
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/external-dns/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions charts/external-dns/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit ab7a965

Please sign in to comment.