Skip to content

Commit

Permalink
Merge pull request openshift-psap#548 from kpouget/def-kube
Browse files Browse the repository at this point in the history
testing: ods: clusters: correctly create the default KUBECONFIG
  • Loading branch information
kpouget authored Oct 18, 2022
2 parents 0230705 + 67dce97 commit 2b13f8f
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 2b13f8f

Please sign in to comment.