WebhookConversionPatchArgs

data class WebhookConversionPatchArgs(val clientConfig: Output<WebhookClientConfigPatchArgs>? = null, val conversionReviewVersions: Output<List<String>>? = null) : ConvertibleToJava<WebhookConversionPatchArgs>

WebhookConversion describes how to call a conversion webhook

Constructors

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

Properties

Link copied to clipboard

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

Link copied to clipboard
val conversionReviewVersions: Output<List<String>>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): WebhookConversionPatchArgs