From 482ad87d6531ea0e6c38cf95104be0fd2aca381f Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Tue, 26 Mar 2024 19:44:44 +0200 Subject: [PATCH] Disable functions by default in values.yaml --- .ci/values-common.yaml | 2 ++ charts/pulsar/values.yaml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.ci/values-common.yaml b/.ci/values-common.yaml index c7e3b700..65f23248 100644 --- a/.ci/values-common.yaml +++ b/.ci/values-common.yaml @@ -36,6 +36,8 @@ affinity: components: autorecovery: false pulsar_manager: false + # enable functions by default in CI + functions: true zookeeper: replicaCount: 1 diff --git a/charts/pulsar/values.yaml b/charts/pulsar/values.yaml index 0d63ba8f..1f73983d 100755 --- a/charts/pulsar/values.yaml +++ b/charts/pulsar/values.yaml @@ -120,7 +120,9 @@ components: # broker broker: true # functions - functions: true + # WARNING! Before enabling functions, make sure that all of your users are trusted since functions run user code + # and the current security sandbox is not sufficient to protect against malicious code. + functions: false # proxy proxy: true # toolset