Skip to content

Commit f2ab1a6

Browse files
hide misleading errors
1 parent 09b3a09 commit f2ab1a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,11 @@ install-local-common:
238238
echo Your kube context is set to production infra, should be a local cluster; \
239239
exit 1; \
240240
fi
241-
@if ! kubectl get ns argo; then \
241+
@if ! kubectl get ns argo 2> /dev/null; then \
242242
kubectl create namespace argo; \
243243
kubectl apply -n argo -f https://github.com/argoproj/argo-workflows/releases/download/v3.3.9/install.yaml; \
244244
fi
245-
@if ! kubectl get ns infra; then \
245+
@if ! kubectl get ns infra 2> /dev/null; then \
246246
kubectl apply \
247247
-f chart/infra-server/templates/namespace.yaml; \
248248
sleep 10; \

0 commit comments

Comments
 (0)