-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat: add new flags to allow migration of OwnerID #4823
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
feat: add new flags to allow migration of OwnerID #4823
Conversation
Welcome @troll-os! |
Hi @troll-os. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
Thanks @troll-os. It looks good. |
@mloiseleur Sure ! Where do you think it would fit the best? TXT registry ? |
With this PR, it works only with TXT registry, so yes. |
/ok-to-test |
/lgtm /assign @Raffo |
@troll-os answered to your comments. Could you please also provide a way to test this manually with manifests and kubectl commands? I would be eager to verify myself that the migration works and then keep an end to end test around. |
b5673a8
to
08dd8b4
Compare
Co-authored-by: Michel Loiseleur <[email protected]>
Co-authored-by: Michel Loiseleur <[email protected]>
Co-authored-by: Michel Loiseleur <[email protected]>
bc8cc94
to
ed5d0fd
Compare
/approve |
You also need the |
Gotcha. Yeah it's working. We may have discussed this before, but the additional --migrate-txt-owner flag seems confusing. My suggestion would be to either remove it, or simplify things by dropping the need for an extra flag and just renaming Right now, with flags like --dry-run and the rest, the overall UX isn’t very friendly. At the moment this is how it looks to me go run main.go \
--provider=aws \
--registry=txt \
--source=service \
--log-level=debug \
--txt-owner-id=123-old-to-new-001 \
--from-txt-owner=123-old-to-new \
--are-you-shure-to-migate=yes \
--are-you-absolutely-shure-to-migrate=yes-and-yes \
......more confirmations So I would like to challenge the idea of having two flags to enable/disable this feature
|
…d owner flag instead
Removed the redundant flag as suggested, all tests run good, ran a live test on Minikube and Gandi again and migration worked there. Updated docs to reflect the changes |
Pull Request Test Coverage Report for Build 18071083977Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
@ivankatliarchuk Anything left on your side ? |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mloiseleur The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
This pull requests aims to complete the work initiated in these PR : #2466 and #3631
Most credits go to the creators of the initial work, as I mostly just rebased their work on the current state of master
Initial PR description:
As for me I've successfully managed records without any issue using the newly added flags on the OVH provider
If anyone is willing to try these changes on other providers I'd be happy to troubleshoot their issues
Regarding the documentation I'm not sure either in which category these changes are relevant, so taking any recommendations on that
Note: this is my first contribution to such a project and first time using Go aswell, I've went through the contribution guidelines but if I missed something please let me know so that I can fix it
Fixes #2036
Checklist