Skip to content

Commit

Permalink
Update go module
Browse files Browse the repository at this point in the history
  • Loading branch information
dorroddorrod committed Jan 1, 2023
1 parent f234e7b commit 935a00c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions apis/rancher/v1alpha1/cluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
Expand Down
1 change: 1 addition & 0 deletions examples/cluster/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
forProvider:
kubeconfigSecretNamespace: default
region: us-east-1
rke:
dockerRootDir: /var/lib/docker
enableNetworkPolicy: false
Expand Down
2 changes: 2 additions & 0 deletions package/crds/rancher.rancher.crossplane.io_clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ spec:
type: boolean
type: object
type: array
region:
type: string
rke:
description: RKEClusterConfigSpec defines the desired state of
RKEClusterConfig
Expand Down

0 comments on commit 935a00c

Please sign in to comment.