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

Reconcile Kubernetes class type objects in a dedicated stage #720

Merged
merged 1 commit into from
Sep 2, 2022

Conversation

stefanprodan
Copy link
Member

@stefanprodan stefanprodan commented Sep 2, 2022

This PR adds a new stage to the server-side apply where the controller reconciles the Kubernetes Class types (RuntimeClass, PriorityClass, StorageClass, VolumeSnapshotClass, IngressClass, GatewayClass, ClusterClass, etc) after CRDs, but before any other resource type. This allows users to bundle Class types with their consumers, e.g. ClusterClass and Cluster, or IngressClass and Ingress.

Fix: #719

PS. This PR also fixes a flaky test.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan added the area/server-side-apply SSA related issues and pull requests label Sep 2, 2022
@stefanprodan stefanprodan merged commit 3d17bc9 into main Sep 2, 2022
@stefanprodan stefanprodan deleted the ssa-class-stage branch September 2, 2022 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/server-side-apply SSA related issues and pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ClusterClass is not defined before Cluster
2 participants