From ed4e1041a2cc890a664c1f0fad49a3dbf0ab932f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wilson=20J=C3=BAnior?= Date: Wed, 23 Oct 2024 14:43:31 -0300 Subject: [PATCH] ingress: reuse UID of existingIngress --- kubernetes/ingress.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kubernetes/ingress.go b/kubernetes/ingress.go index 5a87876..92172d3 100644 --- a/kubernetes/ingress.go +++ b/kubernetes/ingress.go @@ -216,6 +216,8 @@ func (k *IngressService) Ensure(ctx context.Context, id router.InstanceID, o rou setSpanError(span, err) return err } + } else { + ingress = existingIngress } var existingCNames []string