diff --git a/charts/rosa-thanos-s3/Chart.yaml b/charts/rosa-thanos-s3/Chart.yaml index 0fd95a7..7fbed5f 100644 --- a/charts/rosa-thanos-s3/Chart.yaml +++ b/charts/rosa-thanos-s3/Chart.yaml @@ -4,11 +4,11 @@ description: A Helm chart for Kubernetes type: application -version: 0.3.0 +version: 0.3.1 dependencies: - name: grafana-cr - version: "0.5.0" + version: "0.5.6" repository: "https://rh-mobb.github.io/helm-charts/" # repository: file://../grafana-cr - name: alloy diff --git a/charts/rosa-thanos-s3/templates/grafana/dashboards.yaml b/charts/rosa-thanos-s3/templates/grafana/dashboards.yaml index 74c230e..e4878fc 100644 --- a/charts/rosa-thanos-s3/templates/grafana/dashboards.yaml +++ b/charts/rosa-thanos-s3/templates/grafana/dashboards.yaml @@ -9,6 +9,7 @@ metadata: spec: instanceSelector: matchLabels: - dashboards: "grafana" + app.kubernetes.io/name: grafana-cr + app.kubernetes.io/instance: {{ $.Release.Name }} json: {{ $.Files.Get $path }} {{ end }} diff --git a/charts/rosa-thanos-s3/templates/grafana/grafanadatasource.yaml b/charts/rosa-thanos-s3/templates/grafana/grafanadatasource.yaml index 610780b..7196c0d 100644 --- a/charts/rosa-thanos-s3/templates/grafana/grafanadatasource.yaml +++ b/charts/rosa-thanos-s3/templates/grafana/grafanadatasource.yaml @@ -5,10 +5,10 @@ metadata: labels: {{- include "rosa-thanos-s3.labels" . | nindent 4 }} spec: - name: {{ include "rosa-thanos-s3.fullname" . }}.yaml instanceSelector: matchLabels: - dashboards: grafana + app.kubernetes.io/name: grafana-cr + app.kubernetes.io/instance: {{ .Release.Name }} datasource: name: prometheus access: proxy