diff --git a/hack/setup-kubeflow-light.sh b/hack/setup-kubeflow-light.sh index fe046ad6a1..417e184f15 100755 --- a/hack/setup-kubeflow-light.sh +++ b/hack/setup-kubeflow-light.sh @@ -20,7 +20,7 @@ set -euo pipefail TIMEOUT=600s # 10mins echo "Creating Kubeflow namespace..." -kubectl create namespace kubeflow +kubectl create namespace kubeflow --dry-run=client -o yaml | kubectl apply -f - echo "Deploying Cert-Manager." kustomize build common/cert-manager/cert-manager/base | kubectl apply -f - diff --git a/hack/setup-kubeflow.sh b/hack/setup-kubeflow.sh index 2978b9d804..02656b73b4 100755 --- a/hack/setup-kubeflow.sh +++ b/hack/setup-kubeflow.sh @@ -20,7 +20,7 @@ set -euo pipefail TIMEOUT=600s # 10mins echo "Creating Kubeflow namespace..." -kubectl create namespace kubeflow +kubectl create namespace kubeflow --dry-run=client -o yaml | kubectl apply -f - echo "Deploying all Kubeflow components..." function install_kubeflow {