Skip to content

Commit

Permalink
[grafana] reduce multi-file mount to folder mount (#1038)
Browse files Browse the repository at this point in the history
  • Loading branch information
liranbg authored Oct 7, 2024
1 parent 7378095 commit c62be2f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

- uses: azure/setup-helm@v4
with:
version: '3.9.1'
version: '3.13.3'

- name: helm version
run: helm version
Expand Down
8 changes: 4 additions & 4 deletions stable/grafana/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apiVersion: v1
name: grafana
version: 5.1.1
version: 5.2.0
appVersion: 6.5.2
kubeVersion: "^1.8.0-0"
kubeVersion: "^1.29.0-0"
description: The leading tool for querying and visualizing time series and metrics.
home: https://grafana.net
icon: https://raw.githubusercontent.com/grafana/grafana/master/public/img/logo_transparent_400x.png
sources:
- https://github.com/grafana/grafana
maintainers:
- name: liranb
email: liranb@iguazio.com
- name: Iguazio
email: support@iguazio.com
4 changes: 2 additions & 2 deletions stable/grafana/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ containers:
{{- range $key, $value := $dashboards }}
{{- if (or (hasKey $value "json") (hasKey $value "file")) }}
- name: dashboards-{{ $provider }}
mountPath: "/var/lib/grafana/dashboards/{{ $provider }}/{{ $key }}.json"
subPath: "{{ $key }}.json"
mountPath: "/var/lib/grafana/dashboards/{{ $provider }}"
{{- break -}}
{{- end }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit c62be2f

Please sign in to comment.