From a6da076d2b2feb11186e6616c1e7c2dda7546a9b Mon Sep 17 00:00:00 2001 From: winlin Date: Sun, 29 Oct 2023 14:24:29 +0800 Subject: [PATCH] Support helm test. --- srs-server/templates/tests/test-connection.yaml | 2 +- srs-stack/templates/tests/test-connection.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srs-server/templates/tests/test-connection.yaml b/srs-server/templates/tests/test-connection.yaml index a1729d6..f66d7db 100644 --- a/srs-server/templates/tests/test-connection.yaml +++ b/srs-server/templates/tests/test-connection.yaml @@ -11,5 +11,5 @@ spec: - name: wget image: busybox command: ['wget'] - args: ['{{ include "srs.fullname" . }}:{{ .Values.service.port }}'] + args: ['-O', '-', '{{ include "srs.fullname" . }}:{{ .Values.service.api }}/api/v1/versions'] restartPolicy: Never diff --git a/srs-stack/templates/tests/test-connection.yaml b/srs-stack/templates/tests/test-connection.yaml index a1729d6..a800eac 100644 --- a/srs-stack/templates/tests/test-connection.yaml +++ b/srs-stack/templates/tests/test-connection.yaml @@ -11,5 +11,5 @@ spec: - name: wget image: busybox command: ['wget'] - args: ['{{ include "srs.fullname" . }}:{{ .Values.service.port }}'] + args: ['-O', '-', '{{ include "srs.fullname" . }}:{{ .Values.service.http }}/api/v1/versions'] restartPolicy: Never