Unverified Commit 2327e480 authored by George's avatar George Committed by GitHub

Fix underscores and dashes in service.yaml (#133)

* Fix underscores and dashes in service.yaml * Bump telegraf chart version
parent 90b3014b
apiVersion: v1
name: telegraf
version: 1.7.19
version: 1.7.20
appVersion: 1.14
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
......@@ -34,16 +34,16 @@ spec:
protocol: "UDP"
name: "statsd"
{{- end }}
{{- if eq $key "tcp-listener" }}
{{- if eq $key "tcp_listener" }}
- port: {{ trimPrefix ":" $value.service_address | int64 }}
targetPort: {{ trimPrefix ":" $value.service_address | int64 }}
name: "tcp_listener"
name: "tcp-listener"
{{- end }}
{{- if eq $key "udp-listener" }}
{{- if eq $key "udp_listener" }}
- port: {{ trimPrefix ":" $value.service_address | int64 }}
targetPort: {{ trimPrefix ":" $value.service_address | int64 }}
protocol: "UDP"
name: "udp_listener"
name: "udp-listener"
{{- end }}
{{- if eq $key "webhooks" }}
- port: {{ trimPrefix ":" $value.service_address | int64 }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment