Add webhook timeouts (#731)

Signed-off-by: be0x74a <be0x74a@gmail.com>
This commit is contained in:
Diogo Vilela 2025-01-24 20:51:01 +01:00 committed by GitHub
parent 33070ca215
commit 213d205ce6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

@ -43,7 +43,7 @@ webhooks:
resources:
- scaledobjects
sideEffects: None
timeoutSeconds: 10
timeoutSeconds: {{ .Values.webhooks.timeoutSeconds | default 10 }}
- admissionReviewVersions:
- v1
clientConfig:
@ -67,7 +67,7 @@ webhooks:
resources:
- triggerauthentications
sideEffects: None
timeoutSeconds: 10
timeoutSeconds: {{ .Values.webhooks.timeoutSeconds | default 10 }}
- admissionReviewVersions:
- v1
clientConfig:
@ -91,5 +91,5 @@ webhooks:
resources:
- clustertriggerauthentications
sideEffects: None
timeoutSeconds: 10
timeoutSeconds: {{ .Values.webhooks.timeoutSeconds | default 10 }}
{{- end }}

View File

@ -183,6 +183,8 @@ webhooks:
timeoutSeconds: 1
failureThreshold: 3
successThreshold: 1
# -- Timeout in seconds for KEDA admission webhooks
timeoutSeconds: 10
# -- Enable webhook to use host network, this is required on EKS with custom CNI
useHostNetwork: false
# -- Name of the KEDA admission webhooks