Skip to content

Commit 1a2923d

Browse files
committed
feat: add support for 'eus' channelGroupType in ROSA provider
1 parent 4532d16 commit 1a2923d

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

config/crd/bases/controlplane.cluster.x-k8s.io_rosacontrolplanes.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ spec:
8787
description: OpenShift version channel group, default is stable.
8888
enum:
8989
- stable
90+
- eus
9091
- fast
9192
- candidate
9293
- nightly

controlplane/rosa/api/v1beta2/rosacontrolplane_types.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ const (
5959
// Stable channel group is the default channel group for stable releases.
6060
Stable ChannelGroupType = "stable"
6161

62+
// Eus channel group is for eus channel releases.
63+
Eus ChannelGroupType = "eus"
64+
6265
// Fast channel group is for fast channel releases.
6366
Fast ChannelGroupType = "fast"
6467

@@ -110,7 +113,7 @@ type RosaControlPlaneSpec struct { //nolint: maligned
110113

111114
// OpenShift version channel group, default is stable.
112115
//
113-
// +kubebuilder:validation:Enum=stable;fast;candidate;nightly
116+
// +kubebuilder:validation:Enum=stable;eus;fast;candidate;nightly
114117
// +kubebuilder:default=stable
115118
ChannelGroup ChannelGroupType `json:"channelGroup"`
116119

docs/book/src/topics/rosa/upgrades.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ When the versionGate is set to 'Acknowledge', it will revert to 'WaitForAcknowle
1111

1212
The available upgrades versions for the `ROSAControlPlane` will be listed under `ROSAControlPlane.status.availableUpgrades`
1313

14-
The version channel group `ROSAControlPlane.spec.channelGroup` default to stable. However, it can be set to fast, candidate, or nightly. Changing the version channel group will change the `ROSAControlPlane.status.availableUpgrades` accordingly. Note that the use of channel groups other than stable may require additional permissions.
14+
The version channel group `ROSAControlPlane.spec.channelGroup` defaults to stable. However, it can be set to eus, fast, candidate, or nightly. Changing the version channel group will change the `ROSAControlPlane.status.availableUpgrades` accordingly. Note that the use of channel groups other than stable may require additional permissions.
1515

1616
The Upgrade state can be checked in the conditions under `ROSAControlPlane.status`.
1717

0 commit comments

Comments
 (0)