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

apiVersion: apiextensions.k8s.io/v1beta1 deprecated since 1.22 #10

Open
beyondelastic opened this issue Jun 16, 2023 · 0 comments
Open

Comments

@beyondelastic
Copy link

beyondelastic commented Jun 16, 2023

CRD api used is deprecated and needs to be updated from apiextensions.k8s.io/v1beta1 to apiextensions.k8s.io/v1

See Kubernetes deprecation guide:
https://kubernetes.io/docs/reference/using-api/deprecation-guide/

If you run the init command on a newer Kubernetes version, you will get the following error:


➜ kubectl apparmor-manager init -i
I0616 11:40:14.451106 55202 k8s.go:77] Creating a CRD: apparmorprofiles.crd.security.sysdig.com
FATA[2023-06-16T11:40:15+02:00] failed to install CRD: the server could not find the requested resource

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

1 participant