WebhookConversionPatch

data class WebhookConversionPatch(val clientConfig: WebhookClientConfigPatch? = null, val conversionReviewVersions: List<String>? = null)

WebhookConversion describes how to call a conversion webhook

Constructors

Link copied to clipboard
constructor(clientConfig: WebhookClientConfigPatch? = null, conversionReviewVersions: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

clientConfig is the instructions for how to call the webhook if strategy is Webhook.

Link copied to clipboard

conversionReviewVersions is an ordered list of preferred ConversionReview versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. 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.