Disable the rendering of the -grafana-db Secret if they are provided by supplying another Secret in which they already exist.
Which issue this PR fixes
fixes #593
Special notes for your reviewer
This will assume if kube-prometheus-stack.grafana.envFromSecret exists then it will provide the correct env variables needed. While the documentation is updated to reflect that setting this will ignore the Secret, we might need to provide more care and look for specific env variables.
What this PR does / why we need it
Disable the rendering of the
-grafana-db
Secret if they are provided by supplying another Secret in which they already exist.Which issue this PR fixes
Special notes for your reviewer
This will assume if
kube-prometheus-stack.grafana.envFromSecret
exists then it will provide the correct env variables needed. While the documentation is updated to reflect that setting this will ignore the Secret, we might need to provide more care and look for specific env variables.Checklist