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

annotations at the wrong place in AzureDNS example #4409

Closed
jonas-budde opened this issue Apr 24, 2024 · 0 comments · Fixed by #4415
Closed

annotations at the wrong place in AzureDNS example #4409

jonas-budde opened this issue Apr 24, 2024 · 0 comments · Fixed by #4415
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@jonas-budde
Copy link
Contributor

Manifest with wrong annotations:
https://github.com/kubernetes-sigs/external-dns/blob/master/docs/tutorials/azure.md#azure-load-balancer-option-expose-an-nginx-service-with-a-load-balancer

What happened:
I copied the example above and got an error while applying the manifest.

...strict decoding error: unknown field "annotations"

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

The annotations for the service should be under metadata like so:

apiVersion: v1
kind: Service
metadata:
  name: nginx-svc
  annotations:
    external-dns.alpha.kubernetes.io/hostname: server.example.com
spec:
...

Environment:

  • External-DNS version (use external-dns --version):
  • DNS provider:
  • Others:
@jonas-budde jonas-budde added the kind/bug Categorizes issue or PR as related to a bug. label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant