@@ -38,7 +38,7 @@ const (
3838 Private RosaEndpointAccessType = "Private"
3939)
4040
41- // VersionGateAckType specifies the version gate acknowledgment .
41+ // VersionGateAckType specifies the version gate acknowledgement .
4242type VersionGateAckType string
4343
4444const (
@@ -52,20 +52,6 @@ const (
5252 AlwaysAcknowledge VersionGateAckType = "AlwaysAcknowledge"
5353)
5454
55- // ChannelGroupType specifies the OpenShift version channel group.
56- type ChannelGroupType string
57-
58- const (
59- // Stable channel group is the default channel group for stable releases.
60- Stable ChannelGroupType = "stable"
61-
62- // Candidate channel group is for testing candidate builds.
63- Candidate ChannelGroupType = "candidate"
64-
65- // Nightly channel group is for testing nigtly builds.
66- Nightly ChannelGroupType = "nightly"
67- )
68-
6955// RosaControlPlaneSpec defines the desired state of ROSAControlPlane.
7056type RosaControlPlaneSpec struct { //nolint: maligned
7157 // Cluster name must be valid DNS-1035 label, so it must consist of lower case alphanumeric
@@ -105,12 +91,6 @@ type RosaControlPlaneSpec struct { //nolint: maligned
10591 // OpenShift semantic version, for example "4.14.5".
10692 Version string `json:"version"`
10793
108- // OpenShift version channel group, default is stable.
109- //
110- // +kubebuilder:validation:Enum=stable;candidate;nightly
111- // +kubebuilder:default=stable
112- ChannelGroup ChannelGroupType `json:"channelGroup"`
113-
11494 // VersionGate requires acknowledgment when upgrading ROSA-HCP y-stream versions (e.g., from 4.15 to 4.16).
11595 // Default is WaitForAcknowledge.
11696 // WaitForAcknowledge: If acknowledgment is required, the upgrade will not proceed until VersionGate is set to Acknowledge or AlwaysAcknowledge.
@@ -749,10 +729,6 @@ type RosaControlPlaneStatus struct {
749729 // OIDCEndpointURL is the endpoint url for the managed OIDC provider.
750730 OIDCEndpointURL string `json:"oidcEndpointURL,omitempty"`
751731
752- // OpenShift semantic version, for example "4.14.5".
753- // +optional
754- Version string `json:"version"`
755-
756732 // Available upgrades for the ROSA hosted control plane.
757733 AvailableUpgrades []string `json:"availableUpgrades,omitempty"`
758734}
0 commit comments