Skip to content

Commit

Permalink
Merge pull request #589 from cblecker/cluster-history
Browse files Browse the repository at this point in the history
Display a cluster history URL in cluster describe
  • Loading branch information
ciaranRoche authored Feb 12, 2024
2 parents 4549da1 + ad98440 commit 9d7d4f8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkg/cluster/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,10 @@ func PrintClusterDescription(connection *sdk.Connection, cluster *cmv1.Cluster)
fmt.Printf("API URL: %s\n"+
"API Listening: %s\n"+
"Console URL: %s\n"+
"Control Plane:\n%s\n"+
"Infra:\n%s\n"+
"Compute:\n%s\n"+
"Cluster History URL: %s\n"+
"Control Plane:\n %s\n"+
"Infra:\n %s\n"+
"Compute:\n %s\n"+
"Product: %s\n"+
"Subscription type: %s\n"+
"Provider: %s\n"+
Expand All @@ -207,6 +208,7 @@ func PrintClusterDescription(connection *sdk.Connection, cluster *cmv1.Cluster)
apiURL,
apiListening,
cluster.Console().URL(),
fmt.Sprintf("https://cloud.redhat.com/openshift/details/s/%s#clusterHistory", cluster.Subscription().ID()),
printNodeInfo(strconv.Itoa(cluster.Nodes().Master()), cluster.AWS().AdditionalControlPlaneSecurityGroupIds()),
printNodeInfo(strconv.Itoa(cluster.Nodes().Infra()), cluster.AWS().AdditionalInfraSecurityGroupIds()),
// To view additional compute SGs customer can use describe machine-pool
Expand Down

0 comments on commit 9d7d4f8

Please sign in to comment.