[containerd/tracing]: fix containerd tracing templating (#11372)

Signed-off-by: Ugur Ozturk <ugurozturk918@gmail.com>
pull/11401/head
Ugur Can Ozturk 2024-07-26 10:30:38 +02:00 committed by GitHub
parent c0fabccaf6
commit 2299e49e0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -100,9 +100,9 @@ oom_score = {{ containerd_oom_score }}
[plugins."io.containerd.tracing.processor.v1.otlp"] [plugins."io.containerd.tracing.processor.v1.otlp"]
endpoint = "{{ containerd_tracing_endpoint }}" endpoint = "{{ containerd_tracing_endpoint }}"
protocol = "{{ containerd_tracing_protocol }}" protocol = "{{ containerd_tracing_protocol }}"
{% if containerd_tracing_protocol == "grpc" %} {% if containerd_tracing_protocol == "grpc" %}
insecure = false insecure = false
{% endif %} {% endif %}
[plugins."io.containerd.internal.v1.tracing"] [plugins."io.containerd.internal.v1.tracing"]
sampling_ratio = {{ containerd_tracing_sampling_ratio }} sampling_ratio = {{ containerd_tracing_sampling_ratio }}
service_name = "{{ containerd_tracing_service_name }}" service_name = "{{ containerd_tracing_service_name }}"