diff --git a/CHANGELOG.md b/CHANGELOG.md index 64125829d0..8caaa20ee6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -452,6 +452,11 @@ #### Removed ## Connect Chart +### [Unreleased](https://github.com/redpanda-data/helm-charts/releases/tag/connect-FILLMEIN) - YYYY-MM-DD +#### Fixed +* Fixed empty lines after labels when .Values.commonLabels is empty +* Fixed opentelemetry tracer configuration example, should be open_telemetry_collector + ### [3.0.1](https://github.com/redpanda-data/helm-charts/releases/tag/connect-3.0.1) #### Added * Parameter to configure submitting anonymous telemetry data diff --git a/charts/connect/templates/_helpers.tpl b/charts/connect/templates/_helpers.tpl index 73c82f3156..5ea603935f 100644 --- a/charts/connect/templates/_helpers.tpl +++ b/charts/connect/templates/_helpers.tpl @@ -40,8 +40,8 @@ helm.sh/chart: {{ include "redpanda-connect.chart" . }} app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} {{- end }} app.kubernetes.io/managed-by: {{ .Release.Service }} -{{ with .Values.commonLabels }} -{{- toYaml . -}} +{{- if .Values.commonLabels }} +{{ tpl (toYaml .Values.commonLabels) . }} {{- end }} {{- end }} diff --git a/charts/connect/values.yaml b/charts/connect/values.yaml index e016907c1b..8693749bdc 100644 --- a/charts/connect/values.yaml +++ b/charts/connect/values.yaml @@ -232,7 +232,7 @@ serviceMonitor: # prometheus: {} # tracing: -# openTelemetry: +# open_telemetry_collector: # http: [] # grpc: [] # tags: {}