From 8d75dd0674aaaa4d01f0a981cdf6ff96ffa6effc Mon Sep 17 00:00:00 2001 From: krishna sindhur Date: Tue, 17 Dec 2024 03:20:00 +0530 Subject: [PATCH] add: helm values for --enable-webhook-patching flag (#715) * add: helm values for --enable-webhook-patching flag Signed-off-by: krishna sindhur * add: helm values for --enable-webhook-patching flag Signed-off-by: krishna sindhur --------- Signed-off-by: krishna sindhur --- keda/templates/manager/deployment.yaml | 1 + keda/values.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/keda/templates/manager/deployment.yaml b/keda/templates/manager/deployment.yaml index 91821bb2..3c9d9050 100644 --- a/keda/templates/manager/deployment.yaml +++ b/keda/templates/manager/deployment.yaml @@ -82,6 +82,7 @@ spec: - "--zap-log-level={{ .Values.logging.operator.level }}" - "--zap-encoder={{ .Values.logging.operator.format }}" - "--zap-time-encoding={{ .Values.logging.operator.timeEncoding }}" + - "--enable-webhook-patching={{ .Values.webhooks.enabled }}" {{- if .Values.logging.operator.stackTracesEnabled }} - "--zap-stacktrace-level=error" {{- end }} diff --git a/keda/values.yaml b/keda/values.yaml index 8a15740b..28098e63 100644 --- a/keda/values.yaml +++ b/keda/values.yaml @@ -163,6 +163,7 @@ metricsServer: successThreshold: 1 webhooks: + # It also used to enable or disable webhook patching in the operator enabled: true # -- Port number to use for KEDA admission webhooks. Default is 9443. port: ""