Skip to content

Commit 04b50de

Browse files
committed
fix: write the gardener kubeconfig to a file
1 parent 768f867 commit 04b50de

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

hack/integration-test-runner.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@
77
set -o nounset
88
set -o pipefail
99

10-
GARDENER_KUBECONFIG_PATH=$1
10+
GARDENER_KUBECONFIG=$1
1111
NAMESPACE=$2
1212
VERSION=$3
1313
PR_ID=$4
1414

15+
GARDENER_KUBECONFIG_PATH="$(mktemp -d)/gardener.kubeconfig"
16+
echo "$GARDENER_KUBECONFIG" > "$GARDENER_KUBECONFIG_PATH"
17+
chmod 600 "$GARDENER_KUBECONFIG_PATH"
18+
1519
MAX_NUM_CLUSTERS=20
1620
NUM_CLUSTERS_START_DELETE_OLDEST=15
1721
DURATION_FOR_CLUSTER_DELETION=48h

0 commit comments

Comments
 (0)