fix: correctly iterate over manifests in kubeconform workflow
Some checks failed
Validate Kubernetes Manifests / kubeconform (pull_request) Failing after 13s

This commit is contained in:
2025-12-12 22:56:53 +05:30
parent d0966b8d97
commit eee698532e

View File

@@ -65,7 +65,7 @@ jobs:
echo "=== Validating: $file ==="
MANIFESTS=$(yq e '.[]' "$file" | jq -c 'select(.kind != null)')
for manifest in ${MANIFESTS}; do
for manifest in "${MANIFESTS[@]}"; do
KIND=$(echo $manifest | yq -r '.kind // ""')
if [[ -n "$KIND" && -n "${SCHEMA_MAP[$KIND]}" ]]; then