apache / apache/devlake-helm-chart
Bug: Issue with Mounting Certificate from ConfigMap in Grafana
- Dominant language
- Go Template
- Stars
- 52
- Forks
- 72
- Avg merge
- 21h 4m
- Merged PRs (30d)
- 1
Description
#### 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](https://github.com/apache/incubator-devlake-helm-chart/blob/5182bb4ed8dc6152d97054213f61cc07134bcd37/charts/devlake/charts/grafana/templates/_pod.tpl#L1137):
```yaml
{{- range .Values.extraVolumeMounts }}
# It should instead use
{{- range .Values.extraVolumes }}
```
This issue appears to have been addressed in [this issue](https://github.com/prometheus-community/helm-charts/issues/3851) 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?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.