Skip to content

Remove apiextensions.k8s.io/v1beta1 CRDs - #3187

Merged
s-urbaniak merged 1 commit into
prometheus-operator:masterfrom
dgrisonnet:remove-crd-v1beta1
May 6, 2020
Merged

s-urbaniak merged 1 commit into
prometheus-operator:masterfrom
dgrisonnet:remove-crd-v1beta1

Conversation

@dgrisonnet

Copy link
Copy Markdown
Contributor

Follow-up PR from this discussion.

cc @pgier @brancz @lilic

@shay-berman shay-berman left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Damien Grisonnet <[email protected]>
@dgrisonnet
dgrisonnet force-pushed the remove-crd-v1beta1 branch from fa63b7d to fb9d660 Compare May 4, 2020 07:34
@s-urbaniak

Copy link
Copy Markdown
Contributor

lgtm

@s-urbaniak
s-urbaniak merged commit 4231c1d into prometheus-operator:master May 6, 2020
@benjaminhuo

benjaminhuo commented Jun 22, 2020 •

Copy link
Copy Markdown

@dgrisonnet This mean prometheus operator v0.39 and above only supports K8s 1.16 +?
then what is PR #3175 used for? , it generates both v1 and v1beta1 CRDs

Thanks
Ben

@dgrisonnet

Copy link
Copy Markdown
Contributor Author

Yes, prometheus operator v0.39+ will only support k8s 1.16+.

The original plan, when we wanted to update CRDs to v1 was to preserve compatibility with the 4 latest versions of Kubernetes. Meaning that we needed to add a mechanism to generate both v1 and v1beta1 CRDs.

Unfortunately, we later found out that keeping v1beta1 was dragging us down when updating controller-tools, which was the main purpose of updating CRDs #3137. So in the end, we preferred getting rid of v1beta1 in favor of updating controller-tools and thus have further validations on the CRDs.

@benjaminhuo

Copy link
Copy Markdown

Got it , thanks very much for these background info.

Ben

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.

4 participants