% helm install pulsar -f dev-values.yaml datastax-pulsar/pulsar
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "pulsar-prometheus-node-exporter" namespace: "default" from "": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1"
ensure CRDs are installed first
When I try to run the Pulsar helm chart from the datastax page (https://docs.datastax.com/en/luna-streaming/docs/quickstart-helm-installs.html#_install_luna_streaming_locally), I get this:
This doc indicates that PodSecurityPolicy was removed in Kubernetes 1.25: https://kubernetes.io/docs/concepts/security/pod-security-policy/ There is a migration guide for migrating from PodSecurityPolicy to the PodSecurity Admission Controller: https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/