validating_webhook
Source: base/pkg/kusion_kubernetes/api/admissionregistration/v1/validating_webhook.k
This is the validating_webhook module in kusion_kubernetes.api.admissionregistration.v1 package.
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
Editing this file might prove futile when you re-run the KCL auto-gen generate command.
Schema ValidatingWebhook
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
Attributes
Name and Description | Type | Default Value | Required |
---|---|---|---|
admissionReviewVersions AdmissionReviewVersions is an ordered list of preferred AdmissionReview versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.failurePolicy : str, default is Undefined, optional FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail. matchPolicy : str, default is Undefined, optional matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent". | [str] | Undefined | required |
failurePolicy | str | Undefined | optional |
matchPolicy | str | Undefined | optional |
name | str | Undefined | required |
rules | [v1.RuleWithOperations] | Undefined | optional |
sideEffects | str | Undefined | required |
timeoutSeconds | int | Undefined | optional |
clientConfig | WebhookClientConfig | Undefined | required |
namespaceSelector | apis.LabelSelector | Undefined | optional |
objectSelector | apis.LabelSelector | Undefined | optional |