Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

The apiextensions.k8s.io/v1beta1 API version of CustomResourceDefinition is no longer served as of v1.22. #1199

Closed
scpcy opened this issue May 11, 2022 · 6 comments

Comments

@scpcy
Copy link

scpcy commented May 11, 2022

  client
    .apiextensions()
    .v1beta1()
    .customResourceDefinitions()
    .withName(App.ResourceName)
    .get()

This line of code rendered the cloudflow-operator useless (crashloop) as of Kubernetes 1.22.

@thomasschoeftner
Copy link
Contributor

+1 We will also run into the same issue when moving to K8S 1.22 next month...
I don't think 2.3.1 has fixed that.

@thomasschoeftner
Copy link
Contributor

come to think of it:
What would be the oldest K8S version still supported, if we got rid of v1beta1?

@thomasschoeftner
Copy link
Contributor

thomasschoeftner commented Jul 2, 2022

I've tried getting rid of v1beta1, but I cannot really test it locally because I don't have an env to set it up quickly... :(
#1212

@scpcy
Copy link
Author

scpcy commented Jul 2, 2022

the problem is not the CRDs is the operator.

@synchris
Copy link

synchris commented Jul 2, 2022

I've tried getting rid of v1beta1, but I cannot really test it locally because I don't have an env to set it up quickly... :( #1212

https://github.com/lightbend/cloudflow/pull/1213/files

@franciscolopezsancho
Copy link
Collaborator

fixed with #1212

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants