Skip to content

Commit

Permalink
ipam,e2e: Fix kubeconfig
Browse files Browse the repository at this point in the history
Since kubevirt/ipam-extensions#60
allows custom kubeconfig, we should set the line before cluster-up,
so it won't take the value set by automation/components-functests.setup.sh
which is correct only for kubevirtci providers, not for external ones.
Hence set it just before cluster-up.

Signed-off-by: Or Shoval <[email protected]>
  • Loading branch information
oshoval committed Sep 9, 2024
1 parent a37b5a3 commit ac9f174
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ main() {
COMPONENT="kubevirt-ipam-controller" source automation/components-functests.setup.sh

cd ${TMP_COMPONENT_PATH}
export KUBECONFIG=${TMP_COMPONENT_PATH}/.output/kubeconfig
export KIND_ARGS="-ic -i6 -mne"
make cluster-up
export KUBECONFIG=${TMP_COMPONENT_PATH}/.output/kubeconfig

trap teardown EXIT

Expand Down

0 comments on commit ac9f174

Please sign in to comment.