feat(kubernetes): provide access to the Kubernetes dashboard when viewing a specific resource

Signed-off-by: Morgan Martinet <morgan@mmm-experts.com>
This commit is contained in:
Morgan Martinet
2021-08-10 15:15:45 -04:00
committed by Morgan Martinet
parent 9b5f0dd741
commit 7a0c334707
12 changed files with 254 additions and 31 deletions
+6 -1
View File
@@ -32,8 +32,13 @@ export interface KubernetesRequestBody {
entity: Entity;
}
export interface ClusterAttributes {
name: string;
dashboardUrl?: string;
}
export interface ClusterObjects {
cluster: { name: string };
cluster: ClusterAttributes;
resources: FetchResponse[];
errors: KubernetesFetchError[];
}