Azure-Samples/aks-managed-prometheus-and-grafana-bicep

AKS-Managed-prometheus-and-grafana-bicep - nginx install fails because servicemonitors.monitoring.coreos.com CRD does not exist

Banchio opened this issue · 0 comments

When trying to run the below mentioned script, helm install fails because the servicemonitors.monitoring.coreos.com CRD is not present.

helm install $nginxReleaseName $nginxRepoName/$nginxChartName \

I resolved by creating it manually (using kubectl apply -f https://raw.githubusercontent.com/prometheus-community/helm-charts/main/charts/kube-prometheus-stack/charts/crds/crds/crd-servicemonitors.yaml) but wondering if I'm missing something here, thanks