diff --git a/cloud/services/container/clusters/reconcile.go b/cloud/services/container/clusters/reconcile.go index 3d37e6da7..500681ae4 100644 --- a/cloud/services/container/clusters/reconcile.go +++ b/cloud/services/container/clusters/reconcile.go @@ -386,6 +386,8 @@ func convertToSdkReleaseChannel(channel *infrav1exp.ReleaseChannel) containerpb. return containerpb.ReleaseChannel_REGULAR case infrav1exp.Stable: return containerpb.ReleaseChannel_STABLE + case infrav1exp.Extended: + return containerpb.ReleaseChannel_EXTENDED default: return containerpb.ReleaseChannel_UNSPECIFIED } diff --git a/config/crd/bases/infrastructure.cluster.x-k8s.io_gcpmanagedcontrolplanes.yaml b/config/crd/bases/infrastructure.cluster.x-k8s.io_gcpmanagedcontrolplanes.yaml index 1b8d13225..5edc8b716 100644 --- a/config/crd/bases/infrastructure.cluster.x-k8s.io_gcpmanagedcontrolplanes.yaml +++ b/config/crd/bases/infrastructure.cluster.x-k8s.io_gcpmanagedcontrolplanes.yaml @@ -223,6 +223,7 @@ spec: - rapid - regular - stable + - extended type: string version: description: |- diff --git a/exp/api/v1beta1/gcpmanagedcontrolplane_types.go b/exp/api/v1beta1/gcpmanagedcontrolplane_types.go index 53ecffcdd..ea7717937 100644 --- a/exp/api/v1beta1/gcpmanagedcontrolplane_types.go +++ b/exp/api/v1beta1/gcpmanagedcontrolplane_types.go @@ -231,7 +231,7 @@ type GCPManagedControlPlaneList struct { } // ReleaseChannel is the release channel of the GKE cluster -// +kubebuilder:validation:Enum=rapid;regular;stable +// +kubebuilder:validation:Enum=rapid;regular;stable;extended type ReleaseChannel string const ( @@ -241,6 +241,8 @@ const ( Regular ReleaseChannel = "regular" // Stable release channel. Stable ReleaseChannel = "stable" + // Extended release channel. + Extended ReleaseChannel = "extended" ) // MasterAuthorizedNetworksConfig contains configuration options for the master authorized networks feature.