From a4f8c997d13b0ec18fb36f05ca907dbe003d3e9f Mon Sep 17 00:00:00 2001 From: chaosi-zju Date: Mon, 7 Aug 2023 19:38:20 +0800 Subject: [PATCH] update validate-resourceinterpretercustomization webhook timeout from 3s to 10s Signed-off-by: chaosi-zju --- artifacts/deploy/webhook-configuration.yaml | 2 +- charts/karmada/templates/_karmada_webhook_configuration.tpl | 2 +- operator/pkg/karmadaresource/webhookconfiguration/manifests.go | 2 +- pkg/karmadactl/cmdinit/karmada/webhook_configuration.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/artifacts/deploy/webhook-configuration.yaml b/artifacts/deploy/webhook-configuration.yaml index bd997094ed0f..ad6618c1814e 100644 --- a/artifacts/deploy/webhook-configuration.yaml +++ b/artifacts/deploy/webhook-configuration.yaml @@ -166,7 +166,7 @@ webhooks: failurePolicy: Fail sideEffects: None admissionReviewVersions: ["v1"] - timeoutSeconds: 3 + timeoutSeconds: 10 - name: federatedresourcequota.karmada.io rules: - operations: ["CREATE", "UPDATE"] diff --git a/charts/karmada/templates/_karmada_webhook_configuration.tpl b/charts/karmada/templates/_karmada_webhook_configuration.tpl index 79bba82aa7c8..423935486b6c 100644 --- a/charts/karmada/templates/_karmada_webhook_configuration.tpl +++ b/charts/karmada/templates/_karmada_webhook_configuration.tpl @@ -170,7 +170,7 @@ webhooks: failurePolicy: Fail sideEffects: None admissionReviewVersions: ["v1"] - timeoutSeconds: 3 + timeoutSeconds: 10 - name: federatedresourcequota.karmada.io rules: - operations: ["CREATE", "UPDATE"] diff --git a/operator/pkg/karmadaresource/webhookconfiguration/manifests.go b/operator/pkg/karmadaresource/webhookconfiguration/manifests.go index 0a23b32f0b7d..abf12dd670f9 100644 --- a/operator/pkg/karmadaresource/webhookconfiguration/manifests.go +++ b/operator/pkg/karmadaresource/webhookconfiguration/manifests.go @@ -174,7 +174,7 @@ webhooks: failurePolicy: Fail sideEffects: None admissionReviewVersions: ["v1"] - timeoutSeconds: 3 + timeoutSeconds: 10 - name: federatedresourcequota.karmada.io rules: - operations: ["CREATE", "UPDATE"] diff --git a/pkg/karmadactl/cmdinit/karmada/webhook_configuration.go b/pkg/karmadactl/cmdinit/karmada/webhook_configuration.go index 0ccfba31e721..ccccd6385434 100644 --- a/pkg/karmadactl/cmdinit/karmada/webhook_configuration.go +++ b/pkg/karmadactl/cmdinit/karmada/webhook_configuration.go @@ -185,7 +185,7 @@ webhooks: failurePolicy: Fail sideEffects: None admissionReviewVersions: ["v1"] - timeoutSeconds: 3 + timeoutSeconds: 10 - name: federatedresourcequota.karmada.io rules: - operations: ["CREATE", "UPDATE"]