Skip to content

Commit

Permalink
dashboard: removes dashboard.uid function and sets the uid to null
Browse files Browse the repository at this point in the history
  • Loading branch information
mheers committed Jun 7, 2024
1 parent 8ecada7 commit 80d15e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion charts/fluent-bit/dashboards/fluent-bit.json
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@
},
"timezone": "",
"title": "{{ include "fluent-bit.fullname" . }}",
"uid": "{{ include "fluent-bit.dashboard.uid" . }}",
"uid": null,
"version": 7,
"weekStart": ""
}
6 changes: 0 additions & 6 deletions charts/fluent-bit/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}

0 comments on commit 80d15e8

Please sign in to comment.