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

[grafana] reduce multi-file mount to folder mount #1038

Merged
merged 2 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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