Harden kube-version lookup and match the live cluster
ci/woodpecker/pr/vector-test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful

This commit is contained in:
2026-09-19 12:39:10 +10:00
parent a34ff4be91
commit f9f6f1df68
6 changed files with 14 additions and 12 deletions
+1 -2
View File
@@ -1,8 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
REPO_ROOT="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)"
KUBE_VERSION="$(cat "$REPO_ROOT/ci/kube-version")"
KUBE_VERSION="$(cat ci/kube-version)"
SCHEMA_DIR="${SCHEMA_DIR:-schemas}"