From e91a34feb137a7424b3177dc9b4527c3065e1e01 Mon Sep 17 00:00:00 2001 From: nleconte-csgroup <86782407+nleconte-csgroup@users.noreply.github.com> Date: Mon, 16 Sep 2024 13:36:53 +0200 Subject: [PATCH 1/2] fix: test pod 401 with custom openapi_url --- deploy/helm/apikeymanager/templates/tests/test-connection.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/helm/apikeymanager/templates/tests/test-connection.yaml b/deploy/helm/apikeymanager/templates/tests/test-connection.yaml index 63edcf6..1ae5e8b 100644 --- a/deploy/helm/apikeymanager/templates/tests/test-connection.yaml +++ b/deploy/helm/apikeymanager/templates/tests/test-connection.yaml @@ -28,5 +28,5 @@ spec: - name: wget image: busybox command: ['wget'] - args: ['{{ include "apikeymanager.fullname" . }}:{{ .Values.service.port }}'] + args: ['{{ include "apikeymanager.fullname" . }}:{{ .Values.service.port }}/{{ .Values.config.openapi_url }}'] restartPolicy: Never From 7556983228ed00a7aae29e8df1dcd995cce1737b Mon Sep 17 00:00:00 2001 From: nleconte-csgroup <86782407+nleconte-csgroup@users.noreply.github.com> Date: Mon, 16 Sep 2024 14:02:32 +0200 Subject: [PATCH 2/2] fix: remove extra slash in the url --- deploy/helm/apikeymanager/templates/tests/test-connection.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/helm/apikeymanager/templates/tests/test-connection.yaml b/deploy/helm/apikeymanager/templates/tests/test-connection.yaml index 1ae5e8b..536d721 100644 --- a/deploy/helm/apikeymanager/templates/tests/test-connection.yaml +++ b/deploy/helm/apikeymanager/templates/tests/test-connection.yaml @@ -28,5 +28,5 @@ spec: - name: wget image: busybox command: ['wget'] - args: ['{{ include "apikeymanager.fullname" . }}:{{ .Values.service.port }}/{{ .Values.config.openapi_url }}'] + args: ['{{ include "apikeymanager.fullname" . }}:{{ .Values.service.port }}{{ .Values.config.openapi_url }}'] restartPolicy: Never