Skip to content

Commit

Permalink
Merge pull request #414 from deads2k/only-new
Browse files Browse the repository at this point in the history
TRT-1581: default to self-managed clusterprofile
  • Loading branch information
openshift-merge-bot[bot] committed Mar 28, 2024
2 parents f003f0f + 0ebbe6c commit 84ae6b5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkg/operator/starter.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,14 +223,10 @@ func (o *OperatorOptions) getFeatureGateMappingFromDisk(ctx context.Context, con
}
clusterProfileAnnotation := ""
switch infrastructure.Status.ControlPlaneTopology {
case configv1.HighlyAvailableTopologyMode:
clusterProfileAnnotation = "include.release.openshift.io/self-managed-high-availability"
case configv1.SingleReplicaTopologyMode:
clusterProfileAnnotation = "include.release.openshift.io/single-node-developer"
case configv1.ExternalTopologyMode:
clusterProfileAnnotation = "include.release.openshift.io/ibm-cloud-managed"
default:
return nil, fmt.Errorf("unable to get clusterprofile from topology %q", infrastructure.Status.ControlPlaneTopology)
clusterProfileAnnotation = "include.release.openshift.io/self-managed-high-availability"
}

ret := map[configv1.FeatureSet]*configv1.FeatureGateEnabledDisabled{}
Expand Down

0 comments on commit 84ae6b5

Please sign in to comment.