Skip to content

Commit

Permalink
chore: add tpl func for otel service name in chart
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra committed Dec 13, 2023
1 parent a0e0c93 commit 32ab69b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ spec:
{{- if (tpl .Values.otel.collector .) }}
- --otel-collector-url={{ tpl .Values.otel.collector . | default "" }}
{{- end }}
{{- if .Values.otel.serviceName }}
{{- if (tpl .Values.otel.serviceName .) }}
- --otel-service-name={{ tpl .Values.otel.serviceName . | default "canary-checker" }}
{{- end }}
resources:
Expand Down

0 comments on commit 32ab69b

Please sign in to comment.