Skip to content

Commit

Permalink
Set KUBECONFIG for LBC's ginkgo tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rifelpet committed Feb 10, 2024
1 parent 446f3ac commit 0741918
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/e2e/scenarios/aws-lb-controller/run-test.sh
Expand Up @@ -33,6 +33,9 @@ ZONES="eu-west-1a,eu-west-1b,eu-west-1c"

kops-up

export KUBECONFIG=$(mktemp -t kops.XXXXXXXXX)
"${KOPS}" export kubecfg --name "${CLUSTER_NAME}" --admin --kubeconfig "${KUBECONFIG}"

VPC=$(${KOPS} toolbox dump -o json | jq -r .vpc.id)

ZONE=$(${KOPS} get ig -o json | jq -r '[.[] | select(.spec.role=="Node") | .spec.subnets[0]][0]')
Expand Down

0 comments on commit 0741918

Please sign in to comment.