helm: don't break on missing components
All checks were successful
/ render-helm (push) Successful in 28s
All checks were successful
/ render-helm (push) Successful in 28s
I have WIP stuff that goes uncommitted frequently enough that I think this is better than keeping the list accurate. Probably wouldn't feel that was in a multi-user environment
This commit is contained in:
parent
fba90c0315
commit
1d5fca48c0
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue