Skip to content

Commit

Permalink
Make UID of grafana Fluent Bit dashboard a sha1sum of name and namespace
Browse files Browse the repository at this point in the history
Signed-off-by: Ayoub Nasr <[email protected]>
  • Loading branch information
eg-ayoub committed Aug 29, 2024
1 parent 768bbfd commit 876d137
Showing 1 changed file with 1 addition and 1 deletion.
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": null,
"uid": {{ ternary (sha1sum (printf "\"%s-%s\"" .Release.Namespace (include "fluent-bit.fullname" .))) "null" .Values.dashboards.deterministicUid }},
"version": 7,
"weekStart": ""
}

0 comments on commit 876d137

Please sign in to comment.