Migrating to a different --txt-prefix
#5935
Unanswered
mattburgess
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there!
We have external-dns configured with a
--txt-prefixofregistry-. With the new-format registry records, we end up with a prefix ofregistry-cnamewhich obviously eats into a lot of the 63-character limit as warned about here.There's also this warning in the docs:
But, I really want to shorten (remove!) the prefix. What I was considering was creating the new format/new prefix records ahead of time so that external-dns doesn't lose track of things. Would that work?
e.g. I currently have these records:
What I want:
--txt-prefixspecifiedSo, I think that if I create that record ahead of redeploying external-dns without the
--txt-prefixargument then once I do redeploy external-dns then it'll correctly continue to manage all of the records it currently is. I can then go ahead and safely delete all of the prefixed records.Is my understanding correct?
Thanks!
PS: I've just noticed this note:
Is that still right? With the new format behaviour of creating TXT records with a
%{record_type}-prefix then I think conflicts are going to be avoided by default, right? Or do I still need to specify something short like--txt-prefix=reg-?Beta Was this translation helpful? Give feedback.
All reactions