datastax / pulsar-helm-chart

Apache Pulsar Helm chart
Apache License 2.0
46 stars 38 forks source link

PodSecurityPolicy removed from Kubenetes 1.25 #262

Closed devinbost closed 1 year ago

devinbost commented 1 year ago

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:

% 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

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/