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

REFACTOR: Kuadtrant Status #991

Merged
merged 1 commit into from
Nov 8, 2024
Merged

Conversation

Boomatang
Copy link
Contributor

Move the old controller logic for reconciling the kuadrant status to the state of the world workflow.

This works the same as before with one main change that ensures status of the kuadrant CR is updated when resources are created out of order. For example if a user wanted to deploy limitador that was redis backed they can now create the the limitador resources a head of time.

Move the old controller logic for reconciling the kuadrant status to the
state of the world workflow.

Signed-off-by: Jim Fitzpatrick <[email protected]>
Comment on lines +80 to +82
// maistra.io permissions
// +kubebuilder:rbac:groups=maistra.io,resources=servicemeshcontrolplanes,verbs=get;list;watch;update;use;patch
// +kubebuilder:rbac:groups=maistra.io,resources=servicemeshmembers,verbs=get;list;watch;create;update;delete;patch
Copy link
Contributor

Choose a reason for hiding this comment

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

These are not needed anymore.

Suggested change
// maistra.io permissions
// +kubebuilder:rbac:groups=maistra.io,resources=servicemeshcontrolplanes,verbs=get;list;watch;update;use;patch
// +kubebuilder:rbac:groups=maistra.io,resources=servicemeshmembers,verbs=get;list;watch;create;update;delete;patch

Copy link
Contributor

@guicassolato guicassolato left a comment

Choose a reason for hiding this comment

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

Left one minor comment, but I'm happy to address it in #992 if we want to get this one merged first.

@Boomatang
Copy link
Contributor Author

@guicassolato thanks for the quick review, I think we merge it and address the mistra.io comment in #992

@Boomatang Boomatang merged commit 8cdccea into Kuadrant:main Nov 8, 2024
26 checks passed
maleck13 pushed a commit that referenced this pull request Nov 13, 2024
Move the old controller logic for reconciling the kuadrant status to the
state of the world workflow.

Signed-off-by: Jim Fitzpatrick <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants