-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[grafana] allow sc-alerts as init container #2761
Conversation
Signed-off-by: Thomas Belian <[email protected]>
Signed-off-by: Thomas Belian <[email protected]>
I have implemented as init-container OR container. If you like to have the init-container additional to the container, I can adjust that. In my usecase, I use Grafana w/ anonymous login and the container additional to init-container makes no sense in my usecase, but maybe to have both is the more generic way. |
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.
@bt909
Can you also fix the test error?
https://github.com/grafana/helm-charts/actions/runs/6749078165/job/18348724266?pr=2761
------------------------------------------------------------------------------------------------------------------------
==> Logs of container grafana-93xwb4fza5-test
------------------------------------------------------------------------------------------------------------------------
1..1
not ok 1 Test Health
# (in test file /tests/run.sh, line 5)
# `[ "$code" == "200" ]' failed
------------------------------------------------------------------------------------------------------------------------
<== Logs of container grafana-93xwb4fza5-test
------------------------------------------------------------------------------------------------------------------------
========================================================================================================================
Hm, I would like to fix the test, but I am a bit confused. The test failed since I merged main.... |
Signed-off-by: Thomas Belian <[email protected]>
Signed-off-by: zanac1986 <[email protected]> Signed-off-by: Thomas Belian <[email protected]>
Signed-off-by: Nick Pillitteri <[email protected]> Signed-off-by: Thomas Belian <[email protected]>
Signed-off-by: Nick Pillitteri <[email protected]> Signed-off-by: Thomas Belian <[email protected]>
Co-authored-by: MH <[email protected]> Signed-off-by: Thomas Belian <[email protected]>
Oh, I am stuck in rebase hell, because of DCO. I will make an new clean PR. |
I will close this PR in favor of: #2771 |
Sidecar for datasources and notifiers are available, but not for alerts. As values.yaml in line 873 suggested, the idea is to have it as init container as well.
This PR enables the possibility to use sidecar-alerts as init-container too.
Why do we want this as init-container? To get alerts loaded, when using Grafana in anonymous mode. For datasources we have a solution, but not for alerts.
Some kind of related (but this PR don't fix it): #981