From cb0cf71149f025b945194f31a216d25db888a5ca Mon Sep 17 00:00:00 2001 From: Florent Ortiz Date: Thu, 17 Jul 2025 16:12:23 +0200 Subject: [PATCH] fix: allow the use of redirect in args --- charts/airbyte/templates/tests/test-webapp.yaml | 4 ++-- charts/v2/airbyte/templates/tests/test-webapp.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/airbyte/templates/tests/test-webapp.yaml b/charts/airbyte/templates/tests/test-webapp.yaml index 812c449313b..283d6bd027e 100644 --- a/charts/airbyte/templates/tests/test-webapp.yaml +++ b/charts/airbyte/templates/tests/test-webapp.yaml @@ -17,8 +17,8 @@ spec: containers: - name: webapp-test image: {{ include "imageUrl" (list .Values.testWebapp.image $) }} - command: ['curl'] - args: ['-s', '{{ .Release.Name }}-airbyte-webapp-svc:{{ .Values.webapp.service.port }}', '>', '/dev/null'] + command: ['/bin/sh', '-c'] + args: ['curl -s {{ .Release.Name }}-airbyte-webapp-svc:{{ .Values.webapp.service.port }} > /dev/null'] resources: requests: memory: "64Mi" diff --git a/charts/v2/airbyte/templates/tests/test-webapp.yaml b/charts/v2/airbyte/templates/tests/test-webapp.yaml index 238bae447ca..7780d86fc4e 100644 --- a/charts/v2/airbyte/templates/tests/test-webapp.yaml +++ b/charts/v2/airbyte/templates/tests/test-webapp.yaml @@ -17,8 +17,8 @@ spec: containers: - name: webapp-test image: {{ include "imageUrl" (list .Values.testWebapp.image $) }} - command: ['curl'] - args: ['-s', '{{ .Release.Name }}-airbyte-webapp-svc:{{ .Values.webapp.service.port }}', '>', '/dev/null'] + command: ['/bin/sh', '-c'] + args: ['curl -s {{ .Release.Name }}-airbyte-webapp-svc:{{ .Values.webapp.service.port }} > /dev/null'] resources: requests: memory: "64Mi"