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

Revise antctl mc deploy to support manifest update #5257

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

luolanzone
Copy link
Contributor

@luolanzone luolanzone commented Jul 17, 2023

If a resource to create already exists, the command antctl mc deploy will do nothing even when the manifests are changed. Revise the code to apply changes if there is any manifest update.

@luolanzone luolanzone added the area/multi-cluster Issues or PRs related to multi cluster. label Jul 17, 2023
@jianjuns jianjuns changed the title Refine antctl mc deploy to support manifest update Revise antctl mc deploy to support manifest update Jul 17, 2023
@jianjuns
Copy link
Contributor

In commit message, consider changing "Refine" to "Revise".

"If the CRD is already existing" -> If a CRD to import already exists"

@luolanzone
Copy link
Contributor Author

Commit title and message are updated.

Copy link
Contributor

@jianjuns jianjuns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should change "If a CRD to import already exists" to "If a CR to create already exists"?

@luolanzone
Copy link
Contributor Author

luolanzone commented Jul 19, 2023

If a CRD to import already exists

In our manifests, there are both CRDs and CRs (Service/Deployment etc), so maybe I can rewrite it as If a CRD to import already exists, or a CR to create already exists .

@jianjuns
Copy link
Contributor

I feel you should just say "a resource to create".

@luolanzone
Copy link
Contributor Author

I feel you should just say "a resource to create".

Updated the message. Thanks.

@luolanzone
Copy link
Contributor Author

/test-multicluster-e2e

@luolanzone luolanzone added this to the Antrea v1.15 release milestone Oct 19, 2023
If a resource to create already exists, the command `antctl mc deploy`
will do nothing even when the manifests are changed. Revise the code to
apply changes if there is any manifest update.

Signed-off-by: Lan Luo <luola@vmware.com>
@luolanzone
Copy link
Contributor Author

Rebased and rerun the test.
/test-multicluster-e2e

@jianjuns
Copy link
Contributor

jianjuns commented Nov 7, 2023

/skip-all

@jianjuns jianjuns merged commit 6eeb593 into antrea-io:main Nov 7, 2023
48 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/multi-cluster Issues or PRs related to multi cluster.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants