Skip to content

Commit

Permalink
add: helm values for --enable-webhook-patching flag (#715)
Browse files Browse the repository at this point in the history
* add: helm values for --enable-webhook-patching flag

Signed-off-by: krishna sindhur <[email protected]>

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

Signed-off-by: krishna sindhur <[email protected]>

---------

Signed-off-by: krishna sindhur <[email protected]>
  • Loading branch information
KrishnaSindhur authored Dec 16, 2024
1 parent c445ec1 commit 8d75dd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions keda/templates/manager/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions keda/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
Expand Down

0 comments on commit 8d75dd0

Please sign in to comment.