Update documentation.
Minor cleanup and change default fail policy and timeout on webhook config.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
apiVersion: admissionregistration.k8s.io/v1
|
||||
kind: ValidatingWebhookConfiguration
|
||||
metadata:
|
||||
name: "validation-webhook.storage.sigs.k8s.io"
|
||||
name: "validation-webhook.snapshot.storage.k8s.io"
|
||||
namespace: "default"
|
||||
webhooks:
|
||||
- name: "snapshot.validation-webhook.storage.sigs.k8s.io"
|
||||
- name: "validation-webhook.snapshot.storage.k8s.io"
|
||||
rules:
|
||||
- apiGroups: ["snapshot.storage.k8s.io"]
|
||||
apiVersions: ["v1beta1"]
|
||||
@@ -19,5 +19,5 @@ webhooks:
|
||||
caBundle: ${CA_BUNDLE}
|
||||
admissionReviewVersions: ["v1", "v1beta1"]
|
||||
sideEffects: None
|
||||
failurePolicy: Fail # We recommend switching to Fail only after successful installation of the server and webhook.
|
||||
timeoutSeconds: 10 # This will affect the latency and performance. Finetune this value based on your application's tolerance.
|
||||
failurePolicy: Ignore # We recommend switching to Fail only after successful installation of the webhook server and webhook.
|
||||
timeoutSeconds: 2 # This will affect the latency and performance. Finetune this value based on your application's tolerance.
|
Reference in New Issue
Block a user