External-dns не видит шлюзы Istio - PullRequest
2 голосов
/ 05 июля 2019

Я пытаюсь автоматически создавать записи в Google Cloud DNS с использованием внешних DNS и шлюзов Istio.Я вижу, что за последние несколько дней во внешнем репозитории DNS произошло довольно много изменений, поэтому я обвиняю тот факт, что раньше я мог это делать, а не переставать вносить изменения!

В любом случае,вот мой шлюз и файлы значений:

apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: example-gateway
  namespace: default
  annotations:
    istio-type: internal
spec:
  selector:
    istio: internalgateway
  servers:
  - hosts:
    - '*.example.com'
    - example.com
    port:
      name: http
      number: 80
      protocol: HTTP
    tls:
      httpsRedirect: true
  - hosts:
    - '*.example.com'
    - example.com
    port:
      name: https
      number: 443
      protocol: HTTPS
    tls:
      mode: SIMPLE
      privateKey: /etc/istio/ingressgateway-certs/tls.key
      serverCertificate: /etc/istio/ingressgateway-certs/tls.crt

А вот что у меня есть для значений:

image:
  registry: registry.opensource.zalan.do
  repository: teapot/external-dns
  tag: latest
...
sources:
#  - service
#  - ingress
  - istio-gateway
#  - crd
...
provider: google

publishInternalServices: true

google:
  ## Google Project to use
  ##
  project: "XXX"
  serviceAccountSecret: "clouddns"
  serviceAccountKey: "credentials.json"

domainFilters:
  - example.com

annotationFilter: "type=internal"
...
rbac:
  create: true
...

Вот журналы, которые я получаю из своего модуля external-dns:

...
time="2019-07-05T16:09:11Z" level=info msg="Created Istio client"
time="2019-07-05T16:09:11Z" level=info msg="All records are already up to date"

Хотя вполне очевидно, что записи не существуют в моей облачной DNS-зоне.

Есть идеи, почему external-dns не видит мой шлюз?

...