I want to activate the self-monitoring feature in the helm chart of loki to get the prometheus dashboards, it requires to install grafana-agent-operator, so I’ve installed it.
The problem I’m facing is grafana-agent-operator installs the CRD monitoring.grafana.com/v1alpha2 for kind podLogs where loki expects to have monitoring.grafana.com/v1alpha1 .
Error: Failed to render chart: exit status 1: Error: unable to build kubernetes objects from release manifest: resource mapping not found for name: “loki” namespace: “” from “”: no matches for kind “PodLogs” in version “monitoring.grafana.com/v1alpha1”
I’m confused because based on my finding in the CRDs stored in github, grafana-agent-operator should install monitoring.grafana.com/v1alpha1 .
I did not find a parameter in the charts to change the api version of podLogs.
I’ve tried to install various version of the agent but no luck.