From 14f15a16faf3ede3b49eefb5a820be8695a69f10 Mon Sep 17 00:00:00 2001 From: Roberto Giovanardi Date: Thu, 28 Nov 2024 15:03:00 +0100 Subject: [PATCH] fix: tenantadm endpoint fix Signed-off-by: Roberto Giovanardi --- mender/templates/api-gateway/configmap.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mender/templates/api-gateway/configmap.yaml b/mender/templates/api-gateway/configmap.yaml index db0a82c3..b3ea4134 100644 --- a/mender/templates/api-gateway/configmap.yaml +++ b/mender/templates/api-gateway/configmap.yaml @@ -380,9 +380,7 @@ data: {{- end }} rule: >- (Method(`OPTIONS`) || Method(`POST`)) && - PathRegexp(`/api/management/v[0-9]+/tenantadm/tenants`) || - (Method(`OPTIONS`) || Method(`POST`)) && - PathRegexp(`/api/management/v[0-9]+/tenantadm/tenants/trial`) + PathRegexp(`/api/management/v[0-9]+/tenantadm/tenants/trial$`) service: tenantadm tls: {{ $isTls }}