Skip to content

⚠️ Rename deprecated ClusterClass Metadata fields to DeprecatedV1Beta1Metadata #12273

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

Merged

Conversation

sbueringer
Copy link
Member

@sbueringer sbueringer commented May 22, 2025

What this PR does / why we need it:

Ideally we would drop the field immediately. Unfortunately we can't because it is part of the VariableDiscovery v1alpha1 API that the metadata surfaces on ClusterClass.

So for now we are just renaming the field on ClusterClass v1beta2. We will drop the field from ClusterClass v1beta2 once we drop v1beta1 support (which is the same time as when we drop support for v1alpha1 VariableDiscovery)

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Part of #11947

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/needs-area PR is missing an area label labels May 22, 2025
@k8s-ci-robot k8s-ci-robot requested review from elmiko and g-gaston May 22, 2025 18:34
@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label May 22, 2025
@sbueringer
Copy link
Member Author

WIP => needs rebase after #12262 is merged

@sbueringer sbueringer added the area/clusterclass Issues or PRs related to clusterclass label May 22, 2025
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/needs-area PR is missing an area label label May 22, 2025
@sbueringer sbueringer changed the title [WIP] ⚠️ Renamed deprecated ClusterClass Metadata fields to DeprecatedV1Beta1Metadata [WIP] ⚠️ Rename deprecated ClusterClass Metadata fields to DeprecatedV1Beta1Metadata May 22, 2025
@sbueringer
Copy link
Member Author

/test pull-cluster-api-e2e-main

@sbueringer sbueringer force-pushed the pr-rename-metadata-field branch from 0530ef8 to 9369bcd Compare May 22, 2025 18:41
@sbueringer
Copy link
Member Author

/test pull-cluster-api-e2e-main

@sbueringer sbueringer force-pushed the pr-rename-metadata-field branch from 9369bcd to cfa3286 Compare May 22, 2025 19:14
@sbueringer
Copy link
Member Author

/test pull-cluster-api-e2e-main

@sbueringer sbueringer force-pushed the pr-rename-metadata-field branch from cfa3286 to 0373d90 Compare May 22, 2025 19:22
@sbueringer
Copy link
Member Author

/test pull-cluster-api-e2e-main

…tadata

Signed-off-by: Stefan Büringer buringerst@vmware.com
@sbueringer sbueringer force-pushed the pr-rename-metadata-field branch from 0373d90 to 2f1755a Compare May 23, 2025 07:43
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels May 23, 2025
@sbueringer sbueringer changed the title [WIP] ⚠️ Rename deprecated ClusterClass Metadata fields to DeprecatedV1Beta1Metadata ⚠️ Rename deprecated ClusterClass Metadata fields to DeprecatedV1Beta1Metadata May 23, 2025
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 23, 2025
@sbueringer
Copy link
Member Author

/test pull-cluster-api-e2e-main

@sbueringer sbueringer mentioned this pull request May 23, 2025
72 tasks
@chrischdi
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 May 23, 2025
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 4f9fb8da9682ab111a03a14ef0967a6ec1c106c1

Copy link
Member

@fabriziopandini fabriziopandini left a comment

Choose a reason for hiding this comment

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

Thanks for this PR!
/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fabriziopandini

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 May 23, 2025
@k8s-ci-robot k8s-ci-robot merged commit 1c4412f into kubernetes-sigs:main May 23, 2025
27 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.11 milestone May 23, 2025
@sbueringer sbueringer deleted the pr-rename-metadata-field branch May 23, 2025 14:23
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. area/clusterclass Issues or PRs related to clusterclass 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
Development

Successfully merging this pull request may close these issues.

4 participants