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