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

Error: INSTALLATION FAILED: failed to install CRD crds/security.banzaicloud.io_dasts.yaml: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" #52

Open
elmawardy opened this issue Feb 14, 2022 · 2 comments

Comments

@elmawardy
Copy link

Describe the bug
Installation fails on k8s version 1.23

Steps to reproduce the issue:
#helm repo add banzaicloud https://kubernetes-charts.banzaicloud.com/
#helm install dast-operator banzaicloud/dast-operator

Screenshots
image

Additional context
#Kubectl version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.3", GitCommit:"816c97ab8cff8a1c72eccca1026f7820e93e0d25", GitTreeState:"clean", BuildDate:"2022-01-26T02:20:15Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"23+", GitVersion:"v1.23.3-2+d441060727c463", GitCommit:"d441060727c4632b67d09c9118a36a8590308676", GitTreeState:"clean", BuildDate:"2022-01-26T21:57:05Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"linux/amd64"}

@dploeger
Copy link

The problem for this is based on the Kubernetes API deprecating the used apiVersion in the last versions. The correct apiVersion is now apiextensions.k8s.io/v1.

I'll try to send a PR for this.

@dploeger
Copy link

Ah, this is actually fixed in the chart. However, version 0.4.0 wasn't deployed to the repository yet.

As a workaround, you can download this repo and use helm install dast-operator <path to charts/dast-operator> to install it.

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

No branches or pull requests

2 participants