Skip to content

Commit

Permalink
testing: ods: clusters: correctly create the default KUBECONFIG
Browse files Browse the repository at this point in the history
  • Loading branch information
kpouget committed Oct 18, 2022
1 parent 0230705 commit 67dce97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/ods/clusters.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ create_clusters() {
process_ctrl::wait_bg_processes

# cluster that will be available right away when going to the debug tab of the test pod
if [[ ! -e "${SHARED_DIR}/kubeconfig" && "${CI_DEFAULT_CLUSTER}" == "$cluster_type" ]]; then
ln -s "${SHARED_DIR}/${CI_DEFAULT_CLUSTER}_kubeconfig" "${SHARED_DIR}/kubeconfig"
if [[ ! -e "$KUBECONFIG" ]]; then
ln -s "${SHARED_DIR}/${CI_DEFAULT_CLUSTER}_kubeconfig" "$KUBECONFIG"
fi

if [[ "$create_flag" == "keep" ]]; then
Expand Down

0 comments on commit 67dce97

Please sign in to comment.