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

🐛 Bring back v1alpha1 versions of validating admission policy resources #3147

Merged

Conversation

embik
Copy link
Member

@embik embik commented Aug 1, 2024

Summary

#3140 removed admissionregistrationv1alpha1.ValidatingAdmissionPolicies and admissionregistrationv1alpha1.ValidatingAdmissionPolicyBindings from the CRDs used to bootstrap the cache server. This works fine on fresh kcp installations, but causes problems with kcp setups upgrading from v0.24.0. This brings back the v1alpha1 versions to both CRDs as they exist in the v0.24.0 git tag and adds them to the CRD. This allowed me to upgrade from an existing kcp setup initially set up with the last official release.

Related issue(s)

Fixes #

Release Notes

NONE

…missionPolicyBindings to allow upgrades

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>
@kcp-ci-bot kcp-ci-bot added release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has signed the DCO. labels Aug 1, 2024
@embik embik requested a review from xrstf August 1, 2024 08:33
@kcp-ci-bot kcp-ci-bot added kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Aug 1, 2024
@embik embik requested review from mjudeikis and sttts August 1, 2024 08:33
@xrstf
Copy link
Contributor

xrstf commented Aug 5, 2024

/approve
/lgtm

@kcp-ci-bot kcp-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Aug 5, 2024
@kcp-ci-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 0d048380a9a58909d8fb12781be3c4950fdb3cc7

@kcp-ci-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xrstf

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

@kcp-ci-bot kcp-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 5, 2024
@kcp-ci-bot kcp-ci-bot merged commit a9dd868 into kcp-dev:main Aug 5, 2024
15 of 16 checks passed
@embik embik deleted the validatingadmissionpolicies-v1alpha1 branch August 5, 2024 15:09
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. dco-signoff: yes Indicates the PR's author has signed the DCO. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants