From 935a00c03618b1103d705b833f344b3ee6943a10 Mon Sep 17 00:00:00 2001 From: Dor Mull-or Date: Sun, 1 Jan 2023 16:12:46 +0200 Subject: [PATCH] Update go module --- apis/rancher/v1alpha1/cluster_types.go | 1 + examples/cluster/cluster.yaml | 1 + package/crds/rancher.rancher.crossplane.io_clusters.yaml | 2 ++ 3 files changed, 4 insertions(+) diff --git a/apis/rancher/v1alpha1/cluster_types.go b/apis/rancher/v1alpha1/cluster_types.go index e6186be..4f406c2 100644 --- a/apis/rancher/v1alpha1/cluster_types.go +++ b/apis/rancher/v1alpha1/cluster_types.go @@ -63,6 +63,7 @@ type RKEClusterConfigSpec struct { // ClusterParameters are the configurable fields of a Cluster. type ClusterParameters struct { KubeconfigSecretNamespace string `json:"kubeconfigSecretNamespace,omitempty"` + Region string `json:"region,omitempty"` RKE RKEClusterConfigSpec `json:"rke,omitempty"` NodePools []RKENodePool `json:"nodePools,omitempty"` } diff --git a/examples/cluster/cluster.yaml b/examples/cluster/cluster.yaml index cc5e7f7..40886eb 100644 --- a/examples/cluster/cluster.yaml +++ b/examples/cluster/cluster.yaml @@ -5,6 +5,7 @@ metadata: spec: forProvider: kubeconfigSecretNamespace: default + region: us-east-1 rke: dockerRootDir: /var/lib/docker enableNetworkPolicy: false diff --git a/package/crds/rancher.rancher.crossplane.io_clusters.yaml b/package/crds/rancher.rancher.crossplane.io_clusters.yaml index 9bf401d..5659ac1 100644 --- a/package/crds/rancher.rancher.crossplane.io_clusters.yaml +++ b/package/crds/rancher.rancher.crossplane.io_clusters.yaml @@ -106,6 +106,8 @@ spec: type: boolean type: object type: array + region: + type: string rke: description: RKEClusterConfigSpec defines the desired state of RKEClusterConfig