-
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
update TXT records with new owner on changing --txt-owner-id #2036
Comments
This is a good description. |
@jgrumboe Indeed, |
@bartusz01 I wouldn't go for adding a store. External-dns is perfectly "stateless" (as long as you don't count the TXT records in DNS as storage). Persistent storage is always hard and adds complexity. |
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. |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: 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. |
To solve this problem, I added the ability to update the original txt-owner by setting -- migrate-txt-owner to overwrite the old txt-owner. Set new txt-owner can cover the old txt-owner directly when using this tag.(--migrate-txt-owner) Hopefully my code will help you |
What would you like to be added:
When changing
--txt-owner-id
on an existing external-dns resource, where--registry=txt
and--policy=sync
, it does not update the existing TXT records it owns, therefore losing ownership. Meaning that we have to manually delete the records in order to have external-dns take ownership again.I would expect it to also change the ownership of existing records it previously owned in the DNS zone.
Why is this needed:
By default
--txt-owner-id
is set todefault
, if we change this value, the external-dns resource loses ownership of existing records it managed, because the TXT record is not updated with the new owner id.The text was updated successfully, but these errors were encountered: