1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-21 14:29:40 +02:00

fix(k8s/ingress): remove only selected ingress (#5035)

* fix(k8s/ingress): remove only selected ingress

* fix(k8s/ingress): remove ingress from namespace
This commit is contained in:
Chaim Lev-Ari 2021-05-07 00:49:56 +03:00 committed by GitHub
parent 564bea7575
commit b7980f1b60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View file

@ -150,7 +150,7 @@ class KubernetesConfigureController {
ingressesToDel.forEach((ingress) => {
resourcePools.forEach((resourcePool) => {
promises.push(this.KubernetesIngressService.delete({ IngressClass: ingress, Namespace: resourcePool.Namespace.Name }));
promises.push(this.KubernetesIngressService.delete(resourcePool.Namespace.Name, ingress.Name));
});
});