Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/partials/templates/_trace.tpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ define "partials.linkerd.trace" -}}
{{ if .Values.controller.tracing.enabled -}}
{{ if ((.Values.controller.tracing).enabled) -}}
{{- if empty .Values.controller.tracing.collector.endpoint }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need defaults if collector is missing?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{{- if empty .Values.controller.tracing.collector.endpoint }}
{{- if empty (.Values.controller.tracing.collector).endpoint }}

{{- fail "controller.tracing.collector.endpoint must be set if control plane tracing is enabled" }}
{{- end }}
Expand Down