Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.

Commit

Permalink
Fix wrong flags passed to kubectl in sonobuoy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Oz Tiram committed Nov 19, 2019
1 parent 2eade69 commit 3f85245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/scripts/sonobuoy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ curl -s -L -o sonobuoy.tgz ${SONOBUOY_URL};
tar --skip-old-files -x -z -f sonobuoy.tgz;
echo "Running sonobuoy on the cluster. This can take a very long time (up to 3 hours and more!)...";

kubectl --config ${KUBECONFIG} get namespace sonobuoy || if ! ./sonobuoy --kubeconfig ${KUBECONFIG} run; then echo "Failed to run sonobuoy!"; exit 1; fi
kubectl --kubeconfig ${KUBECONFIG} get namespace sonobuoy || if ! ./sonobuoy --kubeconfig ${KUBECONFIG} run; then echo "Failed to run sonobuoy!"; exit 1; fi

STARTTIME=`date +%s`;
echo "Starttime: `date`";
Expand Down

0 comments on commit 3f85245

Please sign in to comment.