Skip to content

Commit

Permalink
hide misleading errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gavin-stackrox committed Oct 7, 2022
1 parent 8fa697d commit f00f4f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,11 @@ install-local-common:
echo Your kube context is set to production infra, should be a local cluster; \
exit 1; \
fi
@if ! kubectl get ns argo; then \
@if ! kubectl get ns argo 2> /dev/null; then \
kubectl create namespace argo; \
kubectl apply -n argo -f https://github.com/argoproj/argo-workflows/releases/download/v3.3.9/install.yaml; \
fi
@if ! kubectl get ns infra; then \
@if ! kubectl get ns infra 2> /dev/null; then \
kubectl apply \
-f chart/infra-server/templates/namespace.yaml; \
sleep 10; \
Expand Down

0 comments on commit f00f4f5

Please sign in to comment.