diff --git a/helm/render-all.sh b/helm/render-all.sh index 31d185a..5b2edfb 100755 --- a/helm/render-all.sh +++ b/helm/render-all.sh @@ -7,6 +7,12 @@ header="# DO NOT EDIT: This file has been automatically generated by the script render_helm() { target="${1}" component="${2}" + + if [ ! -d "${component}" ]; then + echo "skipping non-existant component ${component}" + return + fi + mkdir -p "${target}/${component}" echo "${header}" > "${target}/${component}/bundle.yaml" rm -rf "${component}/charts" # it doesn't seem to update them otherwise