Skip to content

Failed to use --source=ambassador-host with 3.X emissary branch versions #5724

@jordanefillatre

Description

@jordanefillatre

What happened:

Running external dns in latest version

E0807 14:46:06.754231       1 reflector.go:200] "Failed to watch" err="failed to list getambassador.io/v2, Resource=hosts: the server could not find the requested resource" logger="UnhandledError" reflector="k8s.io/[email protected]/tools/cache/reflector.go:285" type="getambassador.io/v2, Resource=hosts"   

What you expected to happen:

The controller is able to use Host resource annotations to create DNS entries
How to reproduce it (as minimally and precisely as possible):

I use the v3alpha1 version of the ambassador api

apiVersion: getambassador.io/v3alpha1
kind: Host
metadata:
  name: mydomain
  namespace: emissary
  annotations:
    external-dns.ambassador-service: emissary-emissary-ingress.emissary
spec:
  acmeProvider:
    authority: none
  hostname:  example.com
  tlsSecret:
    name: ambassador-certs

Anything else we need to know?:
It works with old 2.5.1 version of emissary
Environment:

  • External-DNS version (use external-dns --version): 0.18.0
  • DNS provider: route53
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions