diff --git a/traefik/templates/_podtemplate.tpl b/traefik/templates/_podtemplate.tpl index f8ce67834..d093ad897 100644 --- a/traefik/templates/_podtemplate.tpl +++ b/traefik/templates/_podtemplate.tpl @@ -358,7 +358,7 @@ {{- if .Values.tracing.openTelemetry }} {{- if semverCompare "<3.0.0-0" (default $.Chart.AppVersion $.Values.image.tag) }} - {{- fail "ERROR: OpenTelemetry features are only available on Traefik v3. Please update `image.tag` to `v3.0`." }} + {{- fail "ERROR: OpenTelemetry features are only available on Traefik v3. Please set `image.tag` to `v3.x`." }} {{- end }} - "--tracing.openTelemetry=true" {{- if .Values.tracing.openTelemetry.address }} diff --git a/traefik/tests/tracing-config_test.yaml b/traefik/tests/tracing-config_test.yaml index 97783becd..d7b424707 100644 --- a/traefik/tests/tracing-config_test.yaml +++ b/traefik/tests/tracing-config_test.yaml @@ -39,10 +39,9 @@ tests: set: image: tag: v2.10.1 - metrics: + tracing: openTelemetry: address: "localhost:4318" - addEntryPointsLabels: true asserts: - failedTemplate: errorMessage: "OpenTelemetry features are only available on Traefik v3. Please set `image.tag` to `v3.x`."