add title field to ClusterDetails
Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'@backstage/plugin-kubernetes-node': patch
|
||||
---
|
||||
|
||||
The `ClusterDetails` type now has a `title` field, which should be a
|
||||
human-readable name.
|
||||
@@ -51,6 +51,7 @@ export interface ClusterDetails {
|
||||
skipMetricsLookup?: boolean;
|
||||
// (undocumented)
|
||||
skipTLSVerify?: boolean;
|
||||
title?: string;
|
||||
// (undocumented)
|
||||
url: string;
|
||||
}
|
||||
|
||||
@@ -67,9 +67,13 @@ export type AuthMetadata = Record<string, string>;
|
||||
*/
|
||||
export interface ClusterDetails {
|
||||
/**
|
||||
* 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;
|
||||
url: string;
|
||||
authMetadata: AuthMetadata;
|
||||
skipTLSVerify?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user