-
-
Notifications
You must be signed in to change notification settings - Fork 99
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 w/ Helm Installation: Ensure CRDs are installed first #321
Comments
I reproduced the issue. After checking kubernetes documentation PodSecurityPolicy has been removed since Kubernetes v1.25. I confirm that's working with previous kubernetes versions |
Could you try to install using helm chart on dev branch. |
I am unable to clone the dev branch to try the installation @mmadoo |
you just need to do inside scaphandre repository and execute commands: git fetch
git switch dev
helm install scaphandre helm/scaphandre Note: with these commands, you will use the helm version of dev branch, but the docker image is still latest (i.e. version from main branch) |
Bug description
Error when trying to helm install Scaphandre on Linux Ubuntu 22.04 VM after pulling repository.
Kubectl version: 1.27.2 (latest)
Minikube version: 1.30.1 (latest)
Error obtained: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "scaphandre" namespace: "" from "": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1" ensure CRDs are installed first.
Tried working with older versions of kubectl, with no success.
Screenshots
The text was updated successfully, but these errors were encountered: