-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
ClusterClass webhook allow compatible reference changes #5197
Comments
/area topology |
@yastij to add about the use case of renaming an apigroup, which is not included in the current compatibility definition |
Minor addition: Afaik we currently make sure they are immutable: cluster-api/api/v1alpha4/clusterclass_webhook.go Lines 132 to 200 in f950b4c
|
@sbueringer you are right, and sorry for did not provide full context here. The background idea behind this issue it that at this stage, IMO we can reasonably start to allow an initial set of ClusterClass mutations by enabling metadata changes (see ClusterClass webhook should allow for metadata mutation #5192) and template rotation according to the idea of compatible change (this issue). A similar discussion is happening on #5195 (comment), however with a slight different perspective (how to react timely to changes). I have update the issue title and description accordingly. |
/assign |
Current ClusterClass webhook implementation ensures that references to template Objects are correct and fully provided. and then enforce immutability.
We should allow for reference changes, thus supporting the template rotation operation pattern,
However, in this case, it is required to implement checks ensuring compliance with the compatibility rules defined in the proposal (the last bullet in the list)
Environment:
/kind bug
The text was updated successfully, but these errors were encountered: