From a7e89ed1837da155f7c4e261789b6dddea3f9575 Mon Sep 17 00:00:00 2001 From: Arnaud Rebts Date: Sun, 30 Oct 2022 09:55:09 +0100 Subject: [PATCH] fix: kustomize does not seems to prefix the service name in ingress (#179) --- deploy/overlays/production/patch-ingress.json | 5 +++++ deploy/overlays/staging/patch-ingress.json | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/deploy/overlays/production/patch-ingress.json b/deploy/overlays/production/patch-ingress.json index a45dc47..e60240f 100644 --- a/deploy/overlays/production/patch-ingress.json +++ b/deploy/overlays/production/patch-ingress.json @@ -4,6 +4,11 @@ "path": "/spec/rules/0/host", "value": "deps.rs" }, + { + "op": "replace", + "path": "/spec/rules/0/http/paths/0/backend/service/name", + "value": "deps-rs-prd" + }, { "op": "replace", "path": "/spec/tls/0/secretName", diff --git a/deploy/overlays/staging/patch-ingress.json b/deploy/overlays/staging/patch-ingress.json index 7927d2f..e599c10 100644 --- a/deploy/overlays/staging/patch-ingress.json +++ b/deploy/overlays/staging/patch-ingress.json @@ -4,6 +4,11 @@ "path": "/spec/rules/0/host", "value": "staging.deps.rs" }, + { + "op": "replace", + "path": "/spec/rules/0/http/paths/0/backend/service/name", + "value": "deps-rs-stg" + }, { "op": "replace", "path": "/spec/tls/0/secretName",