Added load-balancer hostname/IP to ingress details (#675)

* Added load-balancer hostname/IP to ingress details

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* lint fixes

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
Jim Ehrismann authored and GitHub committed 2020-08-14 11:04:39 -04:00
1 parent 81796af508
commit 0a5626fdb7
5 files changed
+312 -252

No files matched your search

+5 -1
View File
@@ -25,6 +25,10 @@ export interface IIngressMetrics<T = IMetrics> {
responseDurationSeconds: T;
}
export interface ILoadBalancerIngress {
hostname?: string;
ip?: string;
}
@autobind()
export class Ingress extends KubeObject {
static kind = "Ingress"
@@ -52,7 +56,7 @@ export class Ingress extends KubeObject {
}
status: {
loadBalancer: {
ingress: any[];
ingress: ILoadBalancerIngress[];
};
}