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

Support for Prometheus operator #63

Merged
merged 3 commits into from Jun 11, 2019
Merged

Support for Prometheus operator #63

merged 3 commits into from Jun 11, 2019

Conversation

sebastien-prudhomme
Copy link
Contributor

Fix #48

I add a way to disable the creation of the Prometheus datasource in Grafana because it's yet done by the Prometheus Operator helm chart.

I also add an helper for the labels used in selectors in different resources.

I tried to reuse the things defined in values.yaml. It works fine for rules as i can reuse .Values.prometheus.serverFiles.rules but it's not possible to do the same thing for the scraping part as .Values.prometheus.extraScrapeConfigs is a string and not structured data and i can not see a way to convert that string to a Go structure

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 this pull request may close these issues.

[prometheus] Create ServiceMonitor and PrometheusRule resources
2 participants