strip comments from yaml

This commit is contained in:
2025-12-06 20:52:03 -06:00
parent a7d122b616
commit 18a5ef9b6f
4 changed files with 4 additions and 4 deletions

View File

@@ -196,7 +196,7 @@ jobs:
echo ""
echo ">> Formating rendered template ..."
echo "$TEMPLATE" | yq 'select(. != null)' | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name + ".yaml"'
echo "$TEMPLATE" | yq 'select(. != null)' | yq '... comments=""' | yq -s '"'"$OUTPUT_FOLDER"'" + .kind + "-" + .metadata.name + ".yaml"'
echo ""
echo ">> Manifests for $chart_name rendered to $OUTPUT_FOLDER"