Commit 314d0630 authored by Austin Hartzheim's avatar Austin Hartzheim Committed by Kubernetes Prow Robot

[stable/telegraf] add support for annotations on services (#19380)

parent 2d6c6f0e
apiVersion: v1
name: telegraf
version: 1.1.9
version: 1.2.0
appVersion: 1.12
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
......@@ -8,6 +8,10 @@ metadata:
helm.sh/chart: {{ include "telegraf.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.service.annotations }}
annotations:
{{ toYaml .Values.service.annotations | indent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
......
......@@ -30,6 +30,8 @@ resources: {}
service:
enabled: true
type: ClusterIP
annotations: {}
## Exposed telegraf configuration
## For full list of possible values see `/docs/all-config-values.yaml` and `/docs/all-config-values.toml`
## ref: https://docs.influxdata.com/telegraf/v1.1/administration/configuration/
......
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