KubernetesResourceArgs

data class KubernetesResourceArgs(val membershipCrManifest: Output<String>? = null, val resourceOptions: Output<ResourceOptionsArgs>? = null) : ConvertibleToJava<KubernetesResourceArgs>

KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster. After CreateMembership or UpdateMembership, these resources should be re-applied in the cluster.

Constructors

Link copied to clipboard
fun KubernetesResourceArgs(membershipCrManifest: Output<String>? = null, resourceOptions: Output<ResourceOptionsArgs>? = null)

Functions

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

Properties

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

Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly. Callers should provide the CR that is currently present in the cluster during Create or Update, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership.

Link copied to clipboard

Optional. Options for Kubernetes resource generation.