diff --git a/charts/fluentd/templates/tests/test-connection.yaml b/charts/fluentd/templates/tests/test-connection.yaml index 66e7ede2..6c0423e3 100644 --- a/charts/fluentd/templates/tests/test-connection.yaml +++ b/charts/fluentd/templates/tests/test-connection.yaml @@ -17,7 +17,12 @@ spec: containers: - name: wget image: busybox - command: ['wget'] - args: ['{{ include "fluentd.fullname" . }}:24231/metrics'] + command: + - sh + - -c + - | + echo "sleeping a bit ..." + sleep 5 + wget '{{ include "fluentd.fullname" . }}:24231/metrics' restartPolicy: Never {{ end }} \ No newline at end of file