2020-07-14 15:58:14 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
|
2023-08-22 12:48:33 +00:00
|
|
|
. ../../scripts/lib-update.sh
|
|
|
|
|
|
|
|
#login_ecr_public
|
|
|
|
update_helm
|
|
|
|
|
2021-12-15 22:19:52 +00:00
|
|
|
export ISTIO_VERSION=$(yq eval '.dependencies[] | select(.name=="base") | .version' Chart.yaml)
|
|
|
|
export KIALI_VERSION=$(yq eval '.dependencies[] | select(.name=="kiali-server") | .version' Chart.yaml)
|
2020-07-14 15:58:14 +00:00
|
|
|
|
2020-11-24 14:44:57 +00:00
|
|
|
# Get matching istioctl
|
2023-11-15 14:39:02 +00:00
|
|
|
[ -x istioctl ] && [ "$(./istioctl version --remote=false)" == $ISTIO_VERSION ] || { curl -sL https://github.com/istio/istio/releases/download/${ISTIO_VERSION}/istioctl-${ISTIO_VERSION}-linux-amd64.tar.gz | tar xz; chmod +x istioctl; }
|
2021-04-25 09:58:17 +00:00
|
|
|
|
|
|
|
# Fetch dashboards from Grafana.com and update ZDT CM
|
|
|
|
../kubezero-metrics/sync_grafana_dashboards.py dashboards.yaml templates/grafana-dashboards.yaml
|
2023-11-15 14:39:02 +00:00
|
|
|
|
|
|
|
update_docs
|