KubeZero/charts/kubezero-operators/update.sh

24 lines
849 B
Bash
Raw Permalink Normal View History

#!/bin/bash
set -ex
. ../../scripts/lib-update.sh
2023-11-21 20:01:07 +00:00
ECK_VERSION=$(yq eval '.dependencies[] | select(.name=="eck-operator") | .version' Chart.yaml)
update_helm
2023-11-21 20:01:07 +00:00
# fix ECK crds handling to adhere to proper helm v3 support which also fixes ArgoCD applying updates on upgrades
patch_chart eck-operator
mkdir charts/eck-operator/crds
helm template charts/eck-operator/charts/eck-operator-crds --name-template logging --kube-version 1.26 > charts/eck-operator/crds/all-crds.yaml
rm -rf charts/eck-operator/charts
yq eval -Mi 'del(.dependencies)' charts/eck-operator/Chart.yaml
2023-12-14 22:05:05 +00:00
# Create ZDT dashboard configmap
2024-12-04 18:38:21 +00:00
../kubezero-metrics/sync_grafana_dashboards.py dashboards-pg.yaml templates/cloudnative-pg/grafana-dashboards.yaml
../kubezero-metrics/sync_grafana_dashboards.py dashboards-strimzi.yaml templates/strimzi/grafana-dashboards.yaml
2023-12-14 22:05:05 +00:00
update_docs