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

fix: servicemonitor additionalLabels #353

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

romalukin
Copy link
Contributor

@romalukin romalukin commented Jul 5, 2024

In prometheus-prefect-exporter helm chart, if you enable serviceMonitor and leave serviceMonitor.additionalLabels empty, the error occurs "Error: YAML parse error on prometheus-prefect-exporter/templates/servicemonitor.yaml: error converting YAML to JSON: yaml: line 11: did not find expected key". Fixed this problem.

@romalukin romalukin requested a review from a team as a code owner July 5, 2024 15:49
@mitchnielsen mitchnielsen added the fix A fix for a bug in an existing feature label Jul 8, 2024
@mitchnielsen
Copy link
Contributor

Thanks for the contribution @romalukin 🤝

Side note, looks like this is already handled correctly in prometheusrule.yaml.

I approved the remaining tests to run.

@mitchnielsen mitchnielsen merged commit 344db23 into PrefectHQ:main Jul 8, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix A fix for a bug in an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants