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

🌱 Allow cluster class compatible changes #5213

Conversation

fabriziopandini
Copy link
Member

What this PR does / why we need it:
This PR allows compatible changes on ClusterClass, namely metadata, and template rotation.

Please note that those checks now applies to all ClusterClasses, while in a future iteration we can improve UX by not applying compatibility rules if a ClusterClass is actually not used by a Cluster.

Which issue(s) this PR fixes:
Fixes #5192
Fixes #5197

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Sep 6, 2021
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 6, 2021
api/v1alpha4/clusterclass_webhook.go Outdated Show resolved Hide resolved
api/v1alpha4/clusterclass_webhook.go Show resolved Hide resolved
api/v1alpha4/clusterclass_webhook.go Outdated Show resolved Hide resolved
api/v1alpha4/clusterclass_webhook.go Outdated Show resolved Hide resolved
@fabriziopandini fabriziopandini force-pushed the allow-clusterclass-compatible-changes branch from 68aa6c3 to aaf28ed Compare September 7, 2021 14:20
@fabriziopandini fabriziopandini force-pushed the allow-clusterclass-compatible-changes branch from aaf28ed to ed861b4 Compare September 7, 2021 15:45
api/v1alpha4/clusterclass_webhook.go Outdated Show resolved Hide resolved
api/v1alpha4/clusterclass_webhook.go Outdated Show resolved Hide resolved
@fabriziopandini fabriziopandini force-pushed the allow-clusterclass-compatible-changes branch from ed861b4 to 3e2807a Compare September 7, 2021 16:49
@fabriziopandini
Copy link
Member Author

/retest

@sbueringer
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 8, 2021
api/v1alpha4/clusterclass_webhook.go Outdated Show resolved Hide resolved
api/v1alpha4/clusterclass_webhook.go Outdated Show resolved Hide resolved
api/v1alpha4/clusterclass_webhook.go Outdated Show resolved Hide resolved
api/v1alpha4/clusterclass_webhook.go Outdated Show resolved Hide resolved
api/v1alpha4/clusterclass_webhook.go Outdated Show resolved Hide resolved
api/v1alpha4/clusterclass_webhook.go Outdated Show resolved Hide resolved
api/v1alpha4/clusterclass_webhook.go Outdated Show resolved Hide resolved
@fabriziopandini fabriziopandini force-pushed the allow-clusterclass-compatible-changes branch from 3e2807a to 718b437 Compare September 8, 2021 20:15
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 8, 2021
Copy link
Member

@vincepri vincepri left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 8, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vincepri

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 8, 2021
@k8s-ci-robot k8s-ci-robot merged commit c50aa1f into kubernetes-sigs:master Sep 8, 2021
@k8s-ci-robot k8s-ci-robot added this to the v0.4 milestone Sep 8, 2021
@fabriziopandini fabriziopandini deleted the allow-clusterclass-compatible-changes branch September 10, 2021 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
4 participants