This is an automated email from the ASF dual-hosted git repository.
squakez pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/main by this push:
new 98a23b128 chore: align comment with real implementation
98a23b128 is described below
commit 98a23b128a814dc9ee8a76a4a1cfb03ab7051687
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Tue Aug 25 12:08:25 2026 +0200
chore: align comment with real implementation
---
pkg/platform/env_platform.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/platform/env_platform.go b/pkg/platform/env_platform.go
index dd5bd46b7..df3258655 100644
--- a/pkg/platform/env_platform.go
+++ b/pkg/platform/env_platform.go
@@ -210,7 +210,7 @@ func AffinityNodeLabelsAllowList() []string {
// BuilderTasksEnabled reports whether CR authors are permitted to inject
custom pipeline tasks
// via the builder.tasks trait. Controlled by the BUILDER_TASKS_ENABLED
operator environment
-// variable (default true for backward compatibility). Set to "false" to
prevent custom task
+// variable (default false). Set to "false" to prevent custom task
// injection across all integrations managed by this operator.
func BuilderTasksEnabled() bool {
return
strings.ToLower(strings.TrimSpace(GetEnvOrDefault("BUILDER_TASKS_ENABLED",
"false"))) == "true"