Skip to content

Commit

Permalink
add: helm values for --enable-webhook-patching flag
Browse files Browse the repository at this point in the history
Signed-off-by: krishna sindhur <[email protected]>
  • Loading branch information
KrishnaSindhur committed Dec 16, 2024
1 parent 52ac772 commit f7c214f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion keda/templates/manager/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +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.operator.enableWebhookPatching }}"
- "--enable-webhook-patching={{ .Values.webhooks.enabled }}"
{{- if .Values.logging.operator.stackTracesEnabled }}
- "--zap-stacktrace-level=error"
{{- end }}
Expand Down
3 changes: 1 addition & 2 deletions keda/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ operator:
# --Disable response compression for k8s restAPI in client-go.
# Disabling compression simply means that turns off the process of making data smaller for K8s restAPI in client-go for faster transmission.
disableCompression: true
# Enable or disable webhook patching in the operator
enableWebhookPatching: true
# -- [Affinity] for pod scheduling for KEDA operator. Takes precedence over the `affinity` field
affinity: {}
# podAntiAffinity:
Expand Down Expand Up @@ -165,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 f7c214f

Please sign in to comment.