Allow least privilege CI context during deploy
Test and deploy / test (push) Successful in 11s
Test and deploy / deploy (push) Failing after 13s

This commit is contained in:
2026-10-04 19:18:38 +02:00
parent fbafa72cba
commit 35372c26cb
-1
View File
@@ -1,7 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"
[[ $(kubectl config current-context) == kubernetes-admin@kubernetes ]] || { echo 'Wrong Kubernetes context' >&2; exit 1; }
./test.sh
apply_output=$(kubectl apply -f app.yaml)
printf '%s\n' "$apply_output"