Skip to content

Commit 0973f7b

Browse files
committed
Display a cluster history URL in cluster describe
1 parent 2114ef6 commit 0973f7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/cluster/describe.go

+2
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ func PrintClusterDescription(connection *sdk.Connection, cluster *cmv1.Cluster)
195195
fmt.Printf("API URL: %s\n"+
196196
"API Listening: %s\n"+
197197
"Console URL: %s\n"+
198+
"Cluster History URL: %s\n"+
198199
"Control Plane:\n%s\n"+
199200
"Infra:\n%s\n"+
200201
"Compute:\n%s\n"+
@@ -207,6 +208,7 @@ func PrintClusterDescription(connection *sdk.Connection, cluster *cmv1.Cluster)
207208
apiURL,
208209
apiListening,
209210
cluster.Console().URL(),
211+
fmt.Sprintf("https://cloud.redhat.com/openshift/details/s/%s#clusterHistory", cluster.Subscription().ID()),
210212
printNodeInfo(strconv.Itoa(cluster.Nodes().Master()), cluster.AWS().AdditionalControlPlaneSecurityGroupIds()),
211213
printNodeInfo(strconv.Itoa(cluster.Nodes().Infra()), cluster.AWS().AdditionalInfraSecurityGroupIds()),
212214
// To view additional compute SGs customer can use describe machine-pool

0 commit comments

Comments
 (0)