From 6ae264464ca3fd378e58980175f971936548f71a Mon Sep 17 00:00:00 2001 From: Jordan Liggitt Date: Fri, 19 Jan 2024 08:27:28 -0800 Subject: [PATCH] Make local-up-cluster non-verbose by default --- hack/local-up-cluster.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index 9c82280533d..60c1a7ff929 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -14,7 +14,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -set -x +KUBE_VERBOSE=${KUBE_VERBOSE:-1} +if (( KUBE_VERBOSE > 4 )); then + set -x +fi KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..