-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Route53 txt-prefix does not create registry heritage records #1416
Comments
I cannot reproduce this issue. Using
Got both CNAME and prefixed TXT record in Route53. |
I'm seeing the same behavior. Bitnami helm chart: external-dns-3.2.1 app version 0.7.2 values.yaml provider: aws
policy: sync
txtOwnerId: production-u1-a
txtPrefix: externaldns
domainFilters:
- .com
aws:
zoneType: public
evaluateTargetHealth: "true"
sources:
- ingress Logs
|
Also seeing this on 0.7.3 using raw yaml install relevant container config:
logs:
(note the lack of logs for creating the TXT record) |
Ahh actually i believe this is more useful:
Apologies for all the redaction, if you take all the domains as being the same it should make sense. So it would appear that once the prefix is added it doesn't match the record it's signalling heritage for anymore. I'll try to take a look at the code tonight and figure out where this is happening. |
Ok, I believe I've found the issue: without a trailing
Which is perfectly reasonable, because I have no zone I believe this will also be the issue for the previous two posts as well - both prefixes lack the trailing dot and at least the first is against a root domain. It looks to me like the domain has been stripped from the second example but my guess is it would also be a root. This also explains why @vutny 's test could not reproduce the issue as it was not against Changing to
So in summary, I think it's functioning as intended and either a documentation update is needed to note the trailing dot requirement or perhaps some validation of the flag value (or both). |
/kind documentation |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Rotten issues close after 30d of inactivity. Send feedback to sig-contributor-experience at kubernetes/community. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/reopen |
@nefelim4ag: You can't reopen an issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I had to make a root CNAME (ALIAS) co exists with a TXT record for external domain verification.
Given the TXT record was already taken by external-dns I tried to reach for the
--txt-prefix
flag.What happened:
I deploy external dns with Helm, so I changed
txtPrefix: k8s
, deployed and verified that indeed the external dns image starts up with this new parameter.I went on, deleted the current CNAME and TXT and waited for external dns to sync again.
external dns created the CNAME correctly, however there's no TXT record as I expected.
In all the existing entries I have this as TXT content:
but those are not being created anymore.
With --txt-prefix
I wiped existing records before this test, there were no related records leftover in console.
Without --txt-prefix
Wiped the record again (only CNAME from previous creation) and this time without specifying a
--txt-prefix
the registry record TXT gets created.The text was updated successfully, but these errors were encountered: