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

Simplify PerClusterState and include all states and cluster IDs #3287

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aruiz14
Copy link
Contributor

@aruiz14 aruiz14 commented Jan 30, 2025

Refers to #3186
Depends on #3286

As stated in the previous description of the field, "ResourcePerClusterState is generated for each non-ready resource of the bundles". This makes it hard to obtain a complete picture of every resource from a GitRepo.
In fact, this information is not used in the Rancher UI at all, since it had to fallback to BundleDeployments in order to obtain an accurate list of resources.

This breaking change simplifies PerClusterState, by transforming it into a map of cluster IDs per state (aiming for minimal payload), hence removing irrelevant fields like "error", "message", "patch" and "transitioning" (which remain available in other NonReady and Modified dedicated fields as well as the Conditions).

@aruiz14 aruiz14 force-pushed the per-cluster-state-changes branch from 8e5b7d6 to 60b1e9c Compare January 31, 2025 09:54
@aruiz14 aruiz14 marked this pull request as ready for review January 31, 2025 09:54
@aruiz14 aruiz14 requested a review from a team as a code owner January 31, 2025 09:54
@aruiz14 aruiz14 force-pushed the per-cluster-state-changes branch from 60b1e9c to edae80d Compare February 5, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant