diff --git a/resources/chart/templates/opentelemetry.yml b/resources/chart/templates/opentelemetry.yml index ef7b41d..c2c9726 100644 --- a/resources/chart/templates/opentelemetry.yml +++ b/resources/chart/templates/opentelemetry.yml @@ -1,5 +1,5 @@ -{{- if ne .Release.Namespace "local"}} +{{- if and (ne .Release.Namespace "local") .Values.opentelemetryCollector }} ---