File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
dev/preview/workflow/preview Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -636,6 +636,8 @@ leeway run components:add-smith-token \
636
636
637
637
# Add experimental node label if ws-manager-mk2 is enabled.
638
638
# Remove once mk2 workspaces no longer run on experimental nodes.
639
- kubectl --kubeconfig " ${PREVIEW_K3S_KUBE_PATH} " --context " ${PREVIEW_K3S_KUBE_CONTEXT} " --namespace=" ${PREVIEW_NAMESPACE} " label nodes " ${PREVIEW_K3S_KUBE_CONTEXT} " gitpod.io/experimental=" true" --overwrite
639
+ if [[ " ${GITPOD_WSMANAGER_MK2} " == " true" ]]; then
640
+ kubectl --kubeconfig " ${PREVIEW_K3S_KUBE_PATH} " --context " ${PREVIEW_K3S_KUBE_CONTEXT} " --namespace=" ${PREVIEW_NAMESPACE} " label nodes " ${PREVIEW_K3S_KUBE_CONTEXT} " gitpod.io/experimental=" true" --overwrite
641
+ fi
640
642
641
643
log_success " Installation is happy: https://${DOMAIN} /workspaces"
You can’t perform that action at this time.
0 commit comments