Skip to content

Commit 23ac46d

Browse files
authored
Merge pull request #1498 from afarbos/af/ExtendedRC
feat: add support for extended release channel
2 parents 403fc73 + ff19c21 commit 23ac46d

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

cloud/services/container/clusters/reconcile.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,8 @@ func convertToSdkReleaseChannel(channel *infrav1exp.ReleaseChannel) containerpb.
386386
return containerpb.ReleaseChannel_REGULAR
387387
case infrav1exp.Stable:
388388
return containerpb.ReleaseChannel_STABLE
389+
case infrav1exp.Extended:
390+
return containerpb.ReleaseChannel_EXTENDED
389391
default:
390392
return containerpb.ReleaseChannel_UNSPECIFIED
391393
}

config/crd/bases/infrastructure.cluster.x-k8s.io_gcpmanagedcontrolplanes.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ spec:
230230
- rapid
231231
- regular
232232
- stable
233+
- extended
233234
type: string
234235
version:
235236
description: |-

config/crd/bases/infrastructure.cluster.x-k8s.io_gcpmanagedcontrolplanetemplates.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ spec:
187187
- rapid
188188
- regular
189189
- stable
190+
- extended
190191
type: string
191192
required:
192193
- location

exp/api/v1beta1/gcpmanagedcontrolplane_types.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ type GCPManagedControlPlaneList struct {
203203
}
204204

205205
// ReleaseChannel is the release channel of the GKE cluster
206-
// +kubebuilder:validation:Enum=rapid;regular;stable
206+
// +kubebuilder:validation:Enum=rapid;regular;stable;extended
207207
type ReleaseChannel string
208208

209209
const (
@@ -213,6 +213,8 @@ const (
213213
Regular ReleaseChannel = "regular"
214214
// Stable release channel.
215215
Stable ReleaseChannel = "stable"
216+
// Extended release channel.
217+
Extended ReleaseChannel = "extended"
216218
)
217219

218220
// MasterAuthorizedNetworksConfig contains configuration options for the master authorized networks feature.

0 commit comments

Comments
 (0)