move chart outside services

This commit is contained in:
Adrian Stobbe 2023-07-13 18:25:30 +02:00
parent 59d465c4be
commit a172b6f881
30 changed files with 92 additions and 361 deletions

View file

@ -4,7 +4,7 @@
# script is mostly copied from cli/internal/helm/update-csi-charts.sh
set -euo pipefail
set -o errtrace
set -o errtrac
shopt -s inherit_errexit
echo "Updating AWS Load Balancer Controller Helm chart..."
@ -18,7 +18,7 @@ fi
callDir=$(pwd)
repo_tmp_dir=$(mktemp -d)
chart_base_path="charts/edgeless/constellation-services/charts"
chart_base_path="charts"
chart_name="aws-load-balancer-controller"
chart_url="https://github.com/aws/eks-charts"
@ -35,6 +35,9 @@ git clone \
git sparse-checkout add "${chart_dir}"
git checkout
cd "${callDir}"
rm "${repo_tmp_dir}/${chart_dir}/crds/kustomization.yaml"
rm "${repo_tmp_dir}/${chart_dir}/test.yaml"
rm "${repo_tmp_dir}/${chart_dir}/values.yaml"
# remove old chart
rm -r "${chart_base_path:?}/${chart_name}"