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

Bug: Issue with Mounting Certificate from ConfigMap in Grafana #319

Open
ChristianFehlinger opened this issue Jan 13, 2025 · 3 comments
Open

Comments

@ChristianFehlinger
Copy link

Problem

We need to mount a certificate from a ConfigMap. However, in the currently used Grafana version, an empty directory is mounted instead.

Analysis

The issue seems to be caused by the Grafana version being a bit older. Specifically, the problem originates from this line of code:

{{- range .Values.extraVolumeMounts }}
# It should instead use
{{- range .Values.extraVolumes }}

This issue appears to have been addressed in this issue in the grafana community Helm charts.

Solution

We have two potential solutions to address this:

  • Fix the issue in the current Grafana version by modifying the template.
  • Upgrade to a newer Grafana version where this issue has already been resolved.

Would you prefer a fix in the current version or an update to a fixed version?

@klesh
Copy link
Contributor

klesh commented Jan 14, 2025

I personally would prefer the former.
@matrixji @JorgeGar What do you guys think?

@JorgeGar
Copy link
Contributor

I'd be fine with the first option as a quick fix, since updating Grafana version may come with more issues to solve.
I would be good to update Garana in the long run too.

@ChristianFehlinger
Copy link
Author

I just created an PR

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

No branches or pull requests

3 participants