Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.3 does not work for ingress resources #267

Closed
ensonic opened this issue Jul 10, 2017 · 2 comments
Closed

0.3 does not work for ingress resources #267

ensonic opened this issue Jul 10, 2017 · 2 comments

Comments

@ensonic
Copy link

ensonic commented Jul 10, 2017

I am using the following ingress.yaml (based on the docs in https://github.com/kubernetes-incubator/external-dns/blob/master/docs/tutorials/gke.md):

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: web-frontend
  annotations:
    kubernetes.io/ingress.class: "gce"
spec:
  tls:
  - secretName: www-tls
  rules:
  - host: www.mydomain.com
    http:
      paths:
      - backend:
          serviceName: web-frontend
          servicePort: 80

For services external-dns works (through the annotation). Unfortunately I need to switch to an ingress to make TLS termination work and here external-dns just reports "All records are already up to date", but does not created DNS records for the ingress. The ingress itself is getting created though.

  • I've also tried adding the annotation to the ingress, but that does not help either.
  • I've tested v0.4.0-alpha.1 - no change
  • I run it locally with ~/go/bin/external-dns --registry txt --provider google --google-project ${PRJ} --source service --once --dry-run --debug and it does not print anything wrt. ingresses, it only seems to look at services.
@ideahitme
Copy link

--source service means look only into service, both sources need to be specified, i.e.:

--source service --source ingress

@ensonic
Copy link
Author

ensonic commented Jul 11, 2017

Thanks, this fixes it.

@ensonic ensonic closed this as completed Jul 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants