Closed Leynakindle closed 1 year ago
k8s version is too high for policy/v1beta1. you could try use larger version grafana for installation.
k8s version is too high for policy/v1beta1. you could try use larger version grafana for installation.
thanks, i have tried installing the latest version of Grafana, and the issue has been resolved.
Describe the bug I failed to install Grafana using the installation script provided in the official documentation, and it shows errors related to PodSecurityPolicy.
Reproduce steps
Error log Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: [resource mapping not found for name: "grafana" namespace: "crane-system" from "": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1" ensure CRDs are installed first, resource mapping not found for name: "grafana-test" namespace: "crane-system" from "": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1" ensure CRDs are installed first]
Environment (please complete the following information):