From ae0b9b1e30125a6311c31265362369370fea0d2a Mon Sep 17 00:00:00 2001 From: Ali <83188384+testA113@users.noreply.github.com> Date: Thu, 6 Oct 2022 15:24:59 +1300 Subject: [PATCH] fix(ingress): ingress indicate missing services EE-4358 (#7794) --- .../kube-services-item.html | 8 ++++ .../kube-services/kube-services.html | 2 +- .../IngressDatatable/IngressDataTable.tsx | 9 ++-- .../IngressDatatable/columns/ingressRules.tsx | 13 ++++-- .../react/views/networks/ingresses/queries.ts | 42 ++++++++++++++++++- .../react/views/networks/ingresses/types.ts | 1 + .../PageHeader/HeaderContainer.module.css | 4 -- 7 files changed, 67 insertions(+), 12 deletions(-) diff --git a/app/kubernetes/components/kube-services/kube-services-item/kube-services-item.html b/app/kubernetes/components/kube-services/kube-services-item/kube-services-item.html index 3b3e4b1fa..e5c125e56 100644 --- a/app/kubernetes/components/kube-services/kube-services-item/kube-services-item.html +++ b/app/kubernetes/components/kube-services/kube-services-item/kube-services-item.html @@ -36,6 +36,8 @@ placeholder="80" ng-min="1" ng-max="65535" + min="1" + max="65535" ng-change="$ctrl.servicePort($index)" required ng-disabled="$ctrl.originalIngresses.length === 0 || ($ctrl.serviceType === $ctrl.KubernetesApplicationPublishingTypes.LOAD_BALANCER && !$ctrl.loadbalancerEnabled)" @@ -70,6 +72,8 @@ placeholder="80" ng-min="1" ng-max="65535" + min="1" + max="65535" required ng-disabled="$ctrl.originalIngresses.length === 0 || ($ctrl.serviceType === $ctrl.KubernetesApplicationPublishingTypes.LOAD_BALANCER && !$ctrl.loadbalancerEnabled)" ng-change="$ctrl.onChangeServicePort()" @@ -105,6 +109,8 @@ placeholder="30080" ng-min="30000" ng-max="32767" + min="30000" + max="32767" required ng-change="$ctrl.onChangeNodePort()" data-cy="k8sAppCreate-nodeportPort_{{ $index }}" @@ -139,6 +145,8 @@ placeholder="80" ng-min="1" ng-max="65535" + min="1" + max="65535" required ng-disabled="$ctrl.serviceType === $ctrl.KubernetesApplicationPublishingTypes.LOAD_BALANCER && !$ctrl.loadbalancerEnabled" data-cy="k8sAppCreate-loadbalancerPort_{{ $index }}" diff --git a/app/kubernetes/components/kube-services/kube-services.html b/app/kubernetes/components/kube-services/kube-services.html index d579db1ea..3154f47ba 100644 --- a/app/kubernetes/components/kube-services/kube-services.html +++ b/app/kubernetes/components/kube-services/kube-services.html @@ -9,7 +9,7 @@
-
+