Class ResourceOptions (1.4.2)

ResourceOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

ResourceOptions represent options for Kubernetes resource generation.

Attributes

NameDescription
connect_version str
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.
v1beta1_crd bool
Optional. Use ``apiextensions/v1beta1`` instead of ``apiextensions/v1`` for CustomResourceDefinition resources. This option should be set for clusters with Kubernetes apiserver versions <1.16.>
k8s_version str
Optional. Major version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, ``apiextensions/v1beta1`` or\ ``apiextensions/v1``.

Inheritance

builtins.object > proto.message.Message > ResourceOptions