Skip to content

Update crds to use apiextensions.k8s.io/v1#419

Open
adomenech73 wants to merge 2 commits intoinstaclustr:masterfrom
adomenech73:upgrade_crds
Open

Update crds to use apiextensions.k8s.io/v1#419
adomenech73 wants to merge 2 commits intoinstaclustr:masterfrom
adomenech73:upgrade_crds

Conversation

@adomenech73
Copy link
Copy Markdown

When applying the CRDs I am getting

error: resource mapping not found for name: "cassandraclusters.cassandraoperator.instaclustr.com" namespace: "" from "cassandra/deploy/crds/cassandraoperator.instaclustr.com_cassandraclusters_crd.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first

The error is due to using an outdated API version for the CustomResourceDefinition (CRD). The apiextensions.k8s.io/v1beta1 version is no longer supported in newer Kubernetes versions.

To resolve this issue, I update the CRD to use the apiextensions.k8s.io/v1 API version.

@smiklosovic
Copy link
Copy Markdown
Collaborator

This repository is not supported by us anymore.

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.

2 participants