ResourceOptionsResponse

data class ResourceOptionsResponse(val connectVersion: String, val k8sVersion: String, val v1beta1Crd: Boolean)

ResourceOptions represent options for Kubernetes resource generation.

Constructors

Link copied to clipboard
fun ResourceOptionsResponse(connectVersion: String, k8sVersion: String, v1beta1Crd: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected.

Link copied to clipboard

Optional. Major version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, apiextensions/v1beta1 orapiextensions/v1.

Link copied to clipboard

Optional. Use apiextensions/v1beta1 instead of apiextensions/v1 for CustomResourceDefinition resources. This option should be set for clusters with Kubernetes apiserver versions <1.16.