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

Use policy/v1 PodSecurityPolicy when available #74

Closed
wants to merge 1 commit into from
Closed

Use policy/v1 PodSecurityPolicy when available #74

wants to merge 1 commit into from

Conversation

arpagon
Copy link

@arpagon arpagon commented Sep 15, 2022

No description provided.

@Chris-Greaves
Copy link

Currently getting this error when running the helm chart:

Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "longhorn-psp" namespace: "" from "": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1"
ensure CRDs are installed first

From what I can see, this PR should resolve the issue.

@Chris-Greaves
Copy link

Actually, I just tried to deploy that and ran into the same issue... Looks like PodSecurityPolicy has been completely removed in the latest version of k8s 1.25.0. https://kubernetes.io/docs/concepts/security/pod-security-policy/

Migration steps are here: https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/

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