add: helm values for --enable-webhook-patching flag (#715)

* add: helm values for --enable-webhook-patching flag

Signed-off-by: krishna sindhur <krishna.sindhur@thinkbyte.ai>

* add: helm values for --enable-webhook-patching flag

Signed-off-by: krishna sindhur <krishna.sindhur@thinkbyte.ai>

---------

Signed-off-by: krishna sindhur <krishna.sindhur@thinkbyte.ai>
This commit is contained in:
krishna sindhur 2024-12-17 03:20:00 +05:30 committed by GitHub
parent c445ec15dd
commit 8d75dd0674
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -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 }}

View File

@ -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: ""