KubeZero/charts/kubezero-telemetry/update.sh

23 lines
565 B
Bash
Raw Normal View History

#!/bin/bash
set -ex
. ../../scripts/lib-update.sh
#login_ecr_public
update_helm
2024-04-15 13:25:01 +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)
# fluent-bit
patch_chart fluent-bit
# FluentD
patch_chart fluentd
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/grafana-dashboards.yaml
2024-04-15 13:25:01 +00:00
update_docs