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
clustermesh-apiserver: don't wait for the presence of unused CRDs #26220
Merged
sayboras
merged 1 commit into
cilium:main
from
giorio94:mio/clustermesh-apiserver-sync-crds
Jun 16, 2023
Merged
clustermesh-apiserver: don't wait for the presence of unused CRDs #26220
sayboras
merged 1 commit into
cilium:main
from
giorio94:mio/clustermesh-apiserver-sync-crds
Jun 16, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
giorio94
added
kind/cleanup
This includes no functional changes.
area/misc
Impacts miscellaneous areas of the code not otherwise owned by another area.
area/clustermesh
Relates to multi-cluster routing functionality in Cilium.
labels
Jun 14, 2023
maintainer-s-little-helper
bot
added
the
dont-merge/needs-release-note-label
The author needs to describe the release impact of these changes.
label
Jun 14, 2023
giorio94
added
release-note/misc
This PR makes changes that have no direct user impact.
and removed
area/misc
Impacts miscellaneous areas of the code not otherwise owned by another area.
labels
Jun 14, 2023
maintainer-s-little-helper
bot
removed
the
dont-merge/needs-release-note-label
The author needs to describe the release impact of these changes.
label
Jun 14, 2023
/test |
Currently, the clustermesh-apiserver waits for the presence of all the CRDs before starting the main logic, way more than the resource types actually used afterwards. This ends up preventing the possibility of running a newer version of the clustermesh-apiserver alongside older versions of cilium/cilium-operator due to newly introduced CRDs. This commit modifies the logic to only wait for the CRDs which are actually used (the new list matches the entries listed in the clustermesh-apiserver cluster role). Signed-off-by: Marco Iorio <marco.iorio@isovalent.com>
giorio94
force-pushed
the
mio/clustermesh-apiserver-sync-crds
branch
from
June 14, 2023 11:51
534e081
to
74910f0
Compare
/test |
/ci-aks |
/ci-awscni |
2 tasks
YutaroHayakawa
approved these changes
Jun 16, 2023
aanm
approved these changes
Jun 16, 2023
Reviews from in, and tests are green. Marking as ready to merge |
giorio94
added
the
ready-to-merge
This PR has passed all tests and received consensus from code owners to merge.
label
Jun 16, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/clustermesh
Relates to multi-cluster routing functionality in Cilium.
kind/cleanup
This includes no functional changes.
ready-to-merge
This PR has passed all tests and received consensus from code owners to merge.
release-note/misc
This PR makes changes that have no direct user impact.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently, the clustermesh-apiserver waits for the presence of all the CRDs before starting the main logic, way more than the resource types actually used afterwards. This ends up preventing the possibility of running a newer version of the clustermesh-apiserver alongside older versions of cilium/cilium-operator due to newly introduced CRDs.
This PR modifies the logic to only wait for the CRDs which are actually used (the new list matches the entries listed in the clustermesh-apiserver cluster role).