2 Commits

Author SHA1 Message Date
8bfb5aeea3 feat: add api version and dry-run=server options to render
Some checks failed
renovate / renovate (push) Has been cancelled
2026-03-14 20:54:57 -05:00
5baa34db7e feat: change schedule to morning 2026-03-14 20:49:05 -05:00

View File

@@ -2,7 +2,7 @@ name: render-manifests-dispatch
on:
schedule:
- cron: '0 3 * * *'
- cron: '0 15 * * *'
workflow_dispatch:
@@ -216,7 +216,7 @@ jobs:
echo ""
echo ">> Formating rendered template ..."
local TEMPLATE
TEMPLATE=$(helm template "${CHART_NAME}" ./ --namespace "${NAMESPACE}" --include-crds)
TEMPLATE=$(helm template "${CHART_NAME}" ./ --namespace "${NAMESPACE}" --include-crds --dry-run=server --api-versions "gateway.networking.k8s.io/v1/HTTPRoute)
# Format and split rendered template
echo "${TEMPLATE}" | yq '... comments=""' | yq 'select(. != null)' | yq -s '"'"${OUTPUT_FOLDER}"'" + .kind + "-" + .metadata.name + ".yaml"'