Fix set of cluster entity icon src (#3134)

Co-authored-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Jari KolehmainenandSebastian Malton authored and GitHub committed 2021-06-21 11:09:21 -04:00
1 parent 20d6e50cb7
commit 31b48fe245
2 files changed
+14 -6

No files matched your search

@@ -38,9 +38,6 @@ export interface KubernetesClusterPrometheusMetrics {
prefix: string;
};
type?: string;
icon?: {
src?: string;
};
}
export interface KubernetesClusterSpec extends CatalogEntitySpec {
@@ -49,7 +46,13 @@ export interface KubernetesClusterSpec extends CatalogEntitySpec {
metrics?: {
source: string;
prometheus?: KubernetesClusterPrometheusMetrics;
}
};
icon?: {
// TODO: move to CatalogEntitySpec once any-entity icons are supported
src?: string;
material?: string;
background?: string;
};
}
export interface KubernetesClusterStatus extends CatalogEntityStatus {