-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
helm/loki-stack: render loki datasource only if grafana is enabled #2086
helm/loki-stack: render loki datasource only if grafana is enabled #2086
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2086 +/- ##
==========================================
- Coverage 61.24% 61.22% -0.02%
==========================================
Files 146 146
Lines 11187 11187
==========================================
- Hits 6851 6849 -2
- Misses 3788 3789 +1
- Partials 548 549 +1
|
Nice can you bump the patch version of the helm chart ? |
9b27e7d
to
bdcea18
Compare
@cyriltovena done |
Codecov Report
@@ Coverage Diff @@
## master #2086 +/- ##
==========================================
+ Coverage 61.43% 61.52% +0.09%
==========================================
Files 149 149
Lines 11935 11935
==========================================
+ Hits 7332 7343 +11
+ Misses 4017 4010 -7
+ Partials 586 582 -4
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
This breaks usage of loki-stack when installing grafana using prometheus-operator. Edit: opened issue #2186 |
I didn't realize but this was a perfect ok use case to generate datasource when using a different grafana deployment. Fixes grafana#2186 Fixes grafana#2195 Now regarding grafana#2086 it seems pretty easy to use `.Values.grafana.sidecar.datasources.enabled` if you don't want any datasources. Signed-off-by: Cyril Tovena <[email protected]>
I didn't realize but this was a perfect ok use case to generate datasource when using a different grafana deployment. Fixes #2186 Fixes #2195 Now regarding #2086 it seems pretty easy to use `.Values.grafana.sidecar.datasources.enabled` if you don't want any datasources. Signed-off-by: Cyril Tovena <[email protected]>
I didn't realize but this was a perfect ok use case to generate datasource when using a different grafana deployment. Fixes grafana#2186 Fixes grafana#2195 Now regarding grafana/loki#2086 it seems pretty easy to use `.Values.grafana.sidecar.datasources.enabled` if you don't want any datasources. Signed-off-by: Cyril Tovena <[email protected]>
I didn't realize but this was a perfect ok use case to generate datasource when using a different grafana deployment. Fixes grafana#2186 Fixes grafana#2195 Now regarding grafana#2086 it seems pretty easy to use `.Values.grafana.sidecar.datasources.enabled` if you don't want any datasources. Signed-off-by: Cyril Tovena <[email protected]>
What this PR does / why we need it:
Currently, the grafana section in the default
values.yaml
of theloki-stack
chart containswhich renders the loki datasource although grafana itself is disabled.
This PR changes this behaviour so the datasource is rendered only if grafana is enabled AND the datasources sidecar is enabled.