From a587609782fcf329cb74122132d1d602202068aa Mon Sep 17 00:00:00 2001 From: Aditya <60684641+0x0elliot@users.noreply.github.com> Date: Fri, 6 Dec 2024 14:54:05 +0530 Subject: [PATCH] fix: disabling tenzir pipelines by default --- functions/onprem/orborus/orborus.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/functions/onprem/orborus/orborus.go b/functions/onprem/orborus/orborus.go index 3054066a..b6a6b45b 100755 --- a/functions/onprem/orborus/orborus.go +++ b/functions/onprem/orborus/orborus.go @@ -2617,8 +2617,11 @@ func handlePipeline(incRequest shuffle.ExecutionRequest) error { } func deployTenzirNode() error { - if os.Getenv("SHUFFLE_SKIP_PIPELINES") == "true" { - return errors.New("Pipelines are disabled by user with SHUFFLE_SKIP_PIPELINES") + if os.Getenv("SHUFFLE_SKIP_PIPELINES") == "false" || os.Getenv("SHUFFLE_PIPELINE_ENABLED") == "true" { + // return errors.New("Pipelines are disabled by user with SHUFFLE_SKIP_PIPELINES") + log.Printf("[INFO] Pipelines are enabled by user") + } else { + return errors.New("Pipelines are disabled by user with SHUFFLE_SKIP_PIPELINES") } if isKubernetes == "true" {