Merge pull request #3323 from renan/AllowCustomWebhookTimeout
Allow custom timeout value for webhook calls
This commit is contained in:
commit
e0cdc80def
@ -133,6 +133,7 @@ The following table lists the configurable parameters of the cert-manager chart
|
||||
| `https_proxy` | Value of the `HTTPS_PROXY` environment variable in the cert-manager pod | |
|
||||
| `no_proxy` | Value of the `NO_PROXY` environment variable in the cert-manager pod | |
|
||||
| `webhook.replicaCount` | Number of cert-manager webhook replicas | `1` |
|
||||
| `webhook.timeoutSeconds` | Seconds the API server should wait the webhook to respond before treating the call as a failure. | `10` |
|
||||
| `webhook.podAnnotations` | Annotations to add to the webhook pods | `{}` |
|
||||
| `webhook.deploymentAnnotations` | Annotations to add to the webhook deployment | `{}` |
|
||||
| `webhook.mutatingWebhookConfigurationAnnotations` | Annotations to add to the mutating webhook configuration | `{}` |
|
||||
|
||||
@ -35,6 +35,7 @@ webhooks:
|
||||
- "*/*"
|
||||
{{- if $isV1AdmissionRegistration }}
|
||||
admissionReviewVersions: ["v1", "v1beta1"]
|
||||
timeoutSeconds: {{ .Values.webhook.timeoutSeconds }}
|
||||
{{- end }}
|
||||
failurePolicy: Fail
|
||||
{{- if (semverCompare ">=1.12-0" .Capabilities.KubeVersion.GitVersion) }}
|
||||
|
||||
@ -45,6 +45,7 @@ webhooks:
|
||||
- "*/*"
|
||||
{{- if $isV1AdmissionRegistration }}
|
||||
admissionReviewVersions: ["v1", "v1beta1"]
|
||||
timeoutSeconds: {{ .Values.webhook.timeoutSeconds }}
|
||||
{{- end }}
|
||||
failurePolicy: Fail
|
||||
{{- if (semverCompare ">=1.12-0" .Capabilities.KubeVersion.GitVersion) }}
|
||||
|
||||
@ -178,6 +178,7 @@ tolerations: []
|
||||
|
||||
webhook:
|
||||
replicaCount: 1
|
||||
timeoutSeconds: 10
|
||||
|
||||
strategy: {}
|
||||
# type: RollingUpdate
|
||||
|
||||
Loading…
Reference in New Issue
Block a user