diff --git a/charts/zipkin/templates/tests/test-connection.yaml b/charts/zipkin/templates/tests/test-connection.yaml index 471c4d1..8a44bc8 100644 --- a/charts/zipkin/templates/tests/test-connection.yaml +++ b/charts/zipkin/templates/tests/test-connection.yaml @@ -34,12 +34,12 @@ spec: wget -qO have.json --header "b3: 0" http://{{ include "zipkin.fullname" . }}:{{ .Values.service.port }}/api/v2/dependencies?endTs=$(( $(date +%s) * 1000 )) && diff -b want.json have.json {{ end }} -{{- if .Values.zipkin.selfTracing.enabled }} - name: get-api image: "ghcr.io/openzipkin/alpine:3.19.1" command: [ '/bin/sh', '-c' ] # Get an arbitrary API endpoint using the ClusterIP and service port args: [ 'wget -q --spider --header "b3: cafebabecafebabe-cafebabecafebabe-1" http://{{ include "zipkin.fullname" . }}:{{ .Values.service.port }}/api/v2/services' ] +{{- if .Values.zipkin.selfTracing.enabled }} - name: get-self-trace image: 'ghcr.io/openzipkin/alpine:3.19.1' command: [ '/bin/sh', '-c' ]