Update build-catalog.sh

This commit is contained in:
Kjeld Schouten-Lebbing
2022-07-06 22:38:12 +02:00
committed by GitHub
parent 0ccac5ecf7
commit ebf24a2d1a

View File

@@ -209,6 +209,10 @@ patch_apps() {
cp -rf ${target}/SCALE/migrations/* ${target}/migrations 2>/dev/null || :
rm -rf ${target}/SCALE 2>/dev/null || :
touch ${target}/values.yaml
# Remove documentation that is not required for the App to install
rm -rf ${target}/security.md
rm -rf ${target}/helm-values.md
rm -rf ${target}/CONFIG.md
# Generate item.yaml
cat ${target}/Chart.yaml | grep "icon" >> catalog/${train}/${chartname}/item.yaml
sed -i "s|^icon:|icon_url:|g" catalog/${train}/${chartname}/item.yaml