Harden kube-version lookup and match the live cluster
This commit is contained in:
+1
-2
@@ -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}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user