add title to ClusterAttributes

Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
This commit is contained in:
Jamie Klassen
2024-01-22 11:24:14 -05:00
parent afe9473ea8
commit a643af8082
3 changed files with 11 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-kubernetes-common': patch
---
The `ClusterAttributes` type now includes the cluster title.
+1
View File
@@ -112,6 +112,7 @@ export interface ClusterAttributes {
dashboardParameters?: JsonObject;
dashboardUrl?: string;
name: string;
title?: string;
}
// @public (undocumented)
+5 -1
View File
@@ -67,9 +67,13 @@ export interface KubernetesRequestBody {
/** @public */
export interface ClusterAttributes {
/**
* Specifies the name of the Kubernetes cluster.
* Name of the Kubernetes cluster; used as an internal identifier.
*/
name: string;
/**
* Human-readable name for the cluster, to be dispayed in UIs.
*/
title?: string;
/**
* Specifies the link to the Kubernetes dashboard managing this cluster.
* @remarks