Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cloud/services/container/clusters/reconcile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ spec:
- rapid
- regular
- stable
- extended
type: string
version:
description: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ spec:
- rapid
- regular
- stable
- extended
type: string
required:
- location
Expand Down
4 changes: 3 additions & 1 deletion exp/api/v1beta1/gcpmanagedcontrolplane_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,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 (
Expand All @@ -213,6 +213,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.
Expand Down