diff --git a/keda/templates/webhooks/validatingconfiguration.yaml b/keda/templates/webhooks/validatingconfiguration.yaml index 0b46230..7e42655 100644 --- a/keda/templates/webhooks/validatingconfiguration.yaml +++ b/keda/templates/webhooks/validatingconfiguration.yaml @@ -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 }} diff --git a/keda/values.yaml b/keda/values.yaml index 28098e6..8661a4e 100644 --- a/keda/values.yaml +++ b/keda/values.yaml @@ -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