From 0fe82e27705a32424ad9f0c3d1017ddd25c18a3d Mon Sep 17 00:00:00 2001 From: Marcel Heers Date: Fri, 7 Jun 2024 12:20:57 +0300 Subject: [PATCH 1/2] dashboard: removes dashboard.uid function and sets the uid to null Signed-off-by: Marcel Heers --- charts/fluent-bit/dashboards/fluent-bit.json | 2 +- charts/fluent-bit/templates/_helpers.tpl | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/charts/fluent-bit/dashboards/fluent-bit.json b/charts/fluent-bit/dashboards/fluent-bit.json index 42e747e9..803014fd 100644 --- a/charts/fluent-bit/dashboards/fluent-bit.json +++ b/charts/fluent-bit/dashboards/fluent-bit.json @@ -1559,7 +1559,7 @@ }, "timezone": "", "title": "{{ include "fluent-bit.fullname" . }}", - "uid": "{{ include "fluent-bit.dashboard.uid" . }}", + "uid": null, "version": 7, "weekStart": "" } diff --git a/charts/fluent-bit/templates/_helpers.tpl b/charts/fluent-bit/templates/_helpers.tpl index 8400bf10..84a30563 100644 --- a/charts/fluent-bit/templates/_helpers.tpl +++ b/charts/fluent-bit/templates/_helpers.tpl @@ -136,9 +136,3 @@ Create the name of OpenShift SecurityContextConstraints to use {{- printf "%s" (default (include "fluent-bit.fullname" .) .Values.openShift.securityContextConstraints.name) -}} {{- end -}} {{- end -}} -{{/* -Create the uid for grafana fluent-bit dashboard -*/}} -{{- define "fluent-bit.dashboard.uid" -}} -{{- sha256sum (printf "%s/%s" .Release.Namespace .Release.Name) }} -{{- end -}} From 464fca3fdce185dda093cd648d91d646ae5b3bd9 Mon Sep 17 00:00:00 2001 From: Marcel Heers Date: Tue, 11 Jun 2024 15:36:15 +0300 Subject: [PATCH 2/2] updates Chart.yaml Signed-off-by: Marcel Heers --- charts/fluent-bit/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/fluent-bit/Chart.yaml b/charts/fluent-bit/Chart.yaml index e32984e0..ae8bf4ea 100644 --- a/charts/fluent-bit/Chart.yaml +++ b/charts/fluent-bit/Chart.yaml @@ -5,7 +5,7 @@ keywords: - logging - fluent-bit - fluentd -version: 0.46.9 +version: 0.46.10 appVersion: 3.0.6 icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/fluentd/fluentbit/icon/fluentbit-icon-color.svg home: https://fluentbit.io/ @@ -23,4 +23,4 @@ maintainers: annotations: artifacthub.io/changes: | - kind: changed - description: "Update _Fluent Bit_ OCI image to [v3.0.6](https://github.com/fluent/fluent-bit/releases/tag/v3.0.6)" + description: "Dashboard: remove dashboard.uid function and set the uid to null"