KubeZero/charts/kubezero-storage/update.sh

29 lines
554 B
Bash
Raw Normal View History

#!/bin/bash
set -ex
. ../../scripts/lib-update.sh
2023-04-25 10:13:11 +00:00
#login_ecr_public
update_helm
2021-12-03 21:16:52 +00:00
patch_chart gemini
2023-04-12 11:14:31 +00:00
patch_chart aws-ebs-csi-driver
2023-04-25 11:01:46 +00:00
rm -rf charts/aws-ebs-csi-driver/templates/tests
2021-12-03 21:16:52 +00:00
patch_chart aws-efs-csi-driver
patch_chart lvm-localpv
# move crds
mv charts/lvm-localpv/crds/volumesnapshot* crds
# k8up - CRDs
VERSION=$(yq eval '.dependencies[] | select(.name=="k8up") | .version' Chart.yaml)
curl -L -s -o crds/k8up.yaml https://github.com/k8up-io/k8up/releases/download/k8up-${VERSION}/k8up-crd.yaml
# Metrics
cd jsonnet
make render
update_docs