Skip to content

Commit

Permalink
add export kubeconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
varungup90 committed Jan 30, 2025
1 parent 20bb092 commit ae91b76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/installation-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ jobs:
# Set up the cluster with kind or other Kubernetes environment needed
kind create cluster --name installation-test
kubectl cluster-info --context kind-installation-test
kind get kubeconfig --name installation-test > /tmp/admin.conf
export KUBECONFIG=/tmp/admin.conf
- name: Load image into Kind
run: |
Expand Down
2 changes: 0 additions & 2 deletions test/run-e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ if [ -n "$KIND_E2E" ]; then
# If we did not set SKIP_INSTALL
if [ -z "$SKIP_INSTALL" ]; then
${KIND_SUDO} kind create cluster --image kindest/node:${K8S_VERSION} --config=./hack/kind_config.yaml
kind get kubeconfig > /tmp/admin.conf
export KUBECONFIG=/tmp/admin.conf
fi
fi

Expand Down

0 comments on commit ae91b76

Please sign in to comment.