You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorials/istio.md
+60-8Lines changed: 60 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Configuring ExternalDNS to use the Istio Gateway Source
1
+
# Configuring ExternalDNS to use the Istio Gateway and/or Istio Virtual Service Source
2
2
This tutorial describes how to configure ExternalDNS to use the Istio Gateway source.
3
3
It is meant to supplement the other provider-specific setup tutorials.
4
4
@@ -32,7 +32,8 @@ spec:
32
32
args:
33
33
- --source=service
34
34
- --source=ingress
35
-
- --source=istio-gateway
35
+
- --source=istio-gateway # choose one
36
+
- --source=istio-virtualservice # or both
36
37
- --domain-filter=external-dns-test.my-org.com # will make ExternalDNS see only the hosted zones matching provided domain, omit to process all available hosted zones
37
38
- --provider=aws
38
39
- --policy=upsert-only # would prevent ExternalDNS from deleting any records, omit to enable full synchronization
@@ -63,7 +64,7 @@ rules:
63
64
resources: ["nodes"]
64
65
verbs: ["list"]
65
66
- apiGroups: ["networking.istio.io"]
66
-
resources: ["gateways"]
67
+
resources: ["gateways", "virtualservices"]
67
68
verbs: ["get","watch","list"]
68
69
---
69
70
apiVersion: rbac.authorization.k8s.io/v1
@@ -102,6 +103,7 @@ spec:
102
103
- --source=service
103
104
- --source=ingress
104
105
- --source=istio-gateway
106
+
- --source=istio-virtualservice
105
107
- --domain-filter=external-dns-test.my-org.com # will make ExternalDNS see only the hosted zones matching provided domain, omit to process all available hosted zones
106
108
- --provider=aws
107
109
- --policy=upsert-only # would prevent ExternalDNS from deleting any records, omit to enable full synchronization
app.Flag("skipper-routegroup-groupversion", "The resource version for skipper routegroup").Default(source.DefaultRoutegroupVersion).StringVar(&cfg.SkipperRouteGroupVersion)
302
302
303
303
// Flags related to processing sources
304
-
app.Flag("source", "The resource types that are queried for endpoints; specify multiple times for multiple sources (required, options: service, ingress, node, fake, connector, istio-gateway, cloudfoundry, contour-ingressroute, crd, empty, skipper-routegroup,openshift-route)").Required().PlaceHolder("source").EnumsVar(&cfg.Sources, "service", "ingress", "node", "istio-gateway", "cloudfoundry", "contour-ingressroute", "fake", "connector", "crd", "empty", "skipper-routegroup", "openshift-route")
304
+
app.Flag("source", "The resource types that are queried for endpoints; specify multiple times for multiple sources (required, options: service, ingress, node, fake, connector, istio-gateway, istio-virtualservice, cloudfoundry, contour-ingressroute, crd, empty, skipper-routegroup,openshift-route)").Required().PlaceHolder("source").EnumsVar(&cfg.Sources, "service", "ingress", "node", "istio-gateway", "istio-virtualservice", "cloudfoundry", "contour-ingressroute", "fake", "connector", "crd", "empty", "skipper-routegroup", "openshift-route")
305
305
306
306
app.Flag("namespace", "Limit sources of endpoints to a specific namespace (default: all namespaces)").Default(defaultConfig.Namespace).StringVar(&cfg.Namespace)
307
307
app.Flag("annotation-filter", "Filter sources managed by external-dns via annotation using label selector semantics (default: all sources)").Default(defaultConfig.AnnotationFilter).StringVar(&cfg.AnnotationFilter)
0 commit comments