diff --git a/charts/telegraf/Chart.yaml b/charts/telegraf/Chart.yaml index 790446f8..3bf8d602 100755 --- a/charts/telegraf/Chart.yaml +++ b/charts/telegraf/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: telegraf -version: 1.8.47 +version: 1.8.48 appVersion: 1.30.3 deprecated: false description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics. diff --git a/charts/telegraf/templates/service.yaml b/charts/telegraf/templates/service.yaml index 2b7ae141..a3ace349 100644 --- a/charts/telegraf/templates/service.yaml +++ b/charts/telegraf/templates/service.yaml @@ -84,6 +84,12 @@ spec: name: {{ printf "%s-%s" "socket-listener" (regexFind "[0-9]+$" $value.service_address) }} {{- end }} {{- end }} + {{- if eq $key "cisco_telemetry_mdt" }} + - port: {{ trimPrefix ":" $value.service_address | int64 }} + targetPort: {{ trimPrefix ":" $value.service_address | int64 }} + protocol: "TCP" + name: "cisco-telemetry-mdt" + {{- end }} {{- end -}} {{- end }} {{- range $objectKey, $objectValue := .Values.config.outputs }}