diff --git a/.gitignore b/.gitignore index 26620bca1..1a0cde1eb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /packages/**/charts-original +/packages/*/charts/charts/*.tgz /.idea .DS_Store requirements.lock diff --git a/packages/rancher-istio/charts/charts/rancher-kiali-server-1.22.0.tgz b/packages/rancher-istio/charts/charts/rancher-kiali-server-1.22.0.tgz deleted file mode 100644 index 185cb4728..000000000 Binary files a/packages/rancher-istio/charts/charts/rancher-kiali-server-1.22.0.tgz and /dev/null differ diff --git a/scripts/clean b/scripts/clean index 817f37ed6..1dcfba01f 100755 --- a/scripts/clean +++ b/scripts/clean @@ -7,4 +7,12 @@ for f in packages/*; do rm -rf ${f}/charts-crd fi fi -done \ No newline at end of file +done + +for f in packages/*; do + if [[ -z $CHART || $CHART == $(basename -- ${f}) ]]; then + if [ -d "${f}/charts/charts" ]; then + rm -f ${f}/charts/charts/*.tgz + fi + fi +done