KubeZero/charts/kubezero-logging/update.sh

23 lines
664 B
Bash
Raw Normal View History

#!/bin/bash
2021-12-15 22:19:52 +00:00
set -ex
. ../../scripts/lib-update.sh
2023-11-21 19:06:28 +00:00
update_helm
2021-12-15 22:19:52 +00:00
FLUENT_BIT_VERSION=$(yq eval '.dependencies[] | select(.name=="fluent-bit") | .version' Chart.yaml)
FLUENTD_VERSION=$(yq eval '.dependencies[] | select(.name=="fluentd") | .version' Chart.yaml)
2023-08-23 12:20:50 +00:00
# fluent-bit
# patch_chart fluent-bit
2023-08-23 12:20:50 +00:00
# FluentD
patch_chart fluentd
2023-08-23 12:20:50 +00:00
rm -f charts/fluentd/templates/files.conf/systemd.yaml
# Fetch dashboards from Grafana.com and update ZDT CM
../kubezero-metrics/sync_grafana_dashboards.py dashboards.yaml templates/fluent-bit/grafana-dashboards.yaml
../kubezero-metrics/sync_grafana_dashboards.py dashboards-es.yaml templates/eck/grafana-dashboards.yaml
2023-11-28 18:42:00 +00:00
update_docs