From 8bfb5aeea31925986d9632df8381b2d23cf7dd1a Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 14 Mar 2026 20:54:57 -0500 Subject: [PATCH] feat: add api version and dry-run=server options to render --- .gitea/workflows/render-manifests-dispatch.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/render-manifests-dispatch.yaml b/.gitea/workflows/render-manifests-dispatch.yaml index eba537020..42e71c90a 100644 --- a/.gitea/workflows/render-manifests-dispatch.yaml +++ b/.gitea/workflows/render-manifests-dispatch.yaml @@ -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"'