You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run helm template ./ --set prometheus.monitor.enabled=true
Error Encountered
Error: YAML parse error on azure-resourcegraph-exporter/templates/prometheus/servicemonitor.yaml: error converting YAML to JSON: yaml: line 6: mapping values are not allowed in this context
Quick Fix:
To resolve the issue, modify line 8 in prometheus/servicemonitor.yaml by changing indent to nindent:
labels: {{ include "azure-resourcegraph-exporter.labels" . | nindent 4 }}