Skip to content

Commit

Permalink
hack: Don't error if namespace kubeflow exists (kubeflow#2140)
Browse files Browse the repository at this point in the history
The helper setup scripts should not error when the namespaces already
exist.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
  • Loading branch information
kimwnasptd authored and kevin85421 committed Feb 28, 2023
1 parent 6a68d79 commit e07d870
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hack/setup-kubeflow-light.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 -
Expand Down
2 changes: 1 addition & 1 deletion hack/setup-kubeflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e07d870

Please sign in to comment.