Kubernetes No Custom Resources

Hello everyone! I deployed the Grafana with kube-prometheus-stack. Everything is running correctly. But I need to create folders, dashboards etc. as code. I followed the instructions here (Creating and managing folders, data sources, and dashboards using Grizzly | Grafana Cloud documentation) but there is no access to the apiVersion urls. When I try to apply a dashboard or folder as code it gives me install the CRDs error. How can fix that?

That doc is for Grafana Cloud. But you deployed it as on-prem.

You may use TF Terraform Registry (but don’t mix Grafana Cloud with on-prem, follow only on-prem doc in your case).

Which CRDs are missing? Can you post the error?

What about your values.yaml for the kube-prometheus-stack chart? There’s a:

crds:
  enabled: true

option. Was that enabled to true?