Skip to content

Commit

Permalink
Merge pull request #1561 from Tearix/attributes-qoutes
Browse files Browse the repository at this point in the history
fix: single qoutes for trace attributes
  • Loading branch information
ywk253100 authored Aug 24, 2023
2 parents a8915e7 + 0952c0c commit 285c45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ app: "{{ template "harbor.name" . }}"
TRACE_SAMPLE_RATE: "{{ .Values.trace.sample_rate }}"
TRACE_NAMESPACE: "{{ .Values.trace.namespace }}"
{{- if .Values.trace.attributes }}
TRACE_ATTRIBUTES: "{{ .Values.trace.attributes | toJson }}"
TRACE_ATTRIBUTES: {{ .Values.trace.attributes | toJson | squote }}
{{- end }}
{{- if eq .Values.trace.provider "jaeger" }}
TRACE_JAEGER_ENDPOINT: "{{ .Values.trace.jaeger.endpoint }}"
Expand Down

0 comments on commit 285c45a

Please sign in to comment.