Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The service monitor doesn't work for azure-resourcemanager-exporter #70

Open
tobias0106 opened this issue Jan 7, 2025 · 0 comments · May be fixed by #71
Open

The service monitor doesn't work for azure-resourcemanager-exporter #70

tobias0106 opened this issue Jan 7, 2025 · 0 comments · May be fixed by #71

Comments

@tobias0106
Copy link
Contributor

How to reproduce:

Enable Prometheus in values.yaml:

prometheus:
  monitor:
    enabled: true

Run the command:
helm template .

Error:

Error: YAML parse error on azure-resourcemanager-exporter/templates/prometheus/servicemonitor.yaml: error converting YAML to JSON: yaml: line 6: mapping values are not allowed in this context

How to fix:

Change indent to nindent on line 8 in servicemonitor.yaml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant