UNPKG

@jkcfg/kubernetes

Version:
21 lines 1.02 kB
{ "description": "CustomResourceConversion describes how to convert different versions of a CR.", "required": [ "strategy" ], "properties": { "strategy": { "description": "`strategy` specifies the conversion strategy. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the CR. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option.", "type": [ "string", "null" ] }, "webhookClientConfig": { "description": "`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`. This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature.", "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig" } }, "$schema": "http://json-schema.org/schema#", "type": "object" }