PodSecurityPolicy in version "extensions/v1beta1" error install 9.0.5 in k8s 1.28

  • What Grafana version and what operating system are you using?
    Kubernetes 9.0.5 on kubernetes 1.28 via helm

  • What are you trying to achieve?
    install grafana to eventually update alert rules

  • How are you trying to achieve it?
    upgrade the alert rules in 9.0.5 to eventually be able to eventually migrate to grafana 11.0

  • What happened?
    Error: unable to build kubernetes objects from release manifest: [resource mapping not found for name: “grafana-shd” namespace: “” from “”: no matches for kind “PodSecurityPolicy” in version “extensions/v1beta1”
    ensure CRDs are installed first, resource mapping not found for name: “grafana-shd-test” namespace: “” from “”: no matches for kind “PodSecurityPolicy” in version “policy/v1beta1”
    ensure CRDs are installed first]

  • What did you expect to happen?
    Install grafana 9.0.5 on kubernetes 1.28

  • Can you copy/paste the configuration(s) that you are having problems with?
    helm pull grafana/grafana --untar --version 6.33.0. ### values file

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    no this is prior to UI being up

  • Did you follow any online instructions? If so, what is the URL? n/a