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

Promote Lock to v1beta1 and mark v1alpha1 as deprecated #2537

Merged
merged 6 commits into from
Aug 30, 2021

Conversation

hasheddan
Copy link
Member

Description of your changes

Introduces the v1beta1 Lock API and marks the v1alpha1 version as deprecated. The v1alpha1 version is scheduled to be removed in the v1.7 Crossplane release.

Fixes #2469

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Tested by installing Crossplane v1.3.1, installing xp/getting-started-with-aws:v1.3.1, then upgrading to the build from this PR and verifying successful CRD install and no disruption of service.

Adds a v1beta1 API for the Lock type and marks it as the storage
version. The v1beta1 API is identical to the v1alpha1 API.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
Updates the Lock CRD with v1beta1 schema, which is identical to
v1alpha1.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
Adds new Lock clientsets for interacting the the v1beta1 API version.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
The v1alpha1 Lock API has been deprecated in favor of the v1beta1 API
and is scheduled for removal in Crossplane v1.7.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
@negz
Copy link
Member

negz commented Aug 30, 2021

Mostly LGTM, but I think we should also update the controller code to use the new v1beta1 type.

@hasheddan
Copy link
Member Author

@negz will do 👍🏻

Updates all Lock interactions in the revision controller to use the
v1beta1 API.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
Updates the package revision dependency resolver controller to use
v1beta1 Lock types.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
Copy link
Member Author

@hasheddan hasheddan left a comment

Choose a reason for hiding this comment

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

@negz updated!

@negz negz merged commit f6ea610 into crossplane:master Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Promote Lock to v1beta1
2 participants