diff --git a/stable/telegraf/Chart.yaml b/stable/telegraf/Chart.yaml index 06ef99227d1f8327f775f6721c89b8d49fa7c4b9..c229a6d3671c4fbf81789a6987cf7a42daecd83f 100755 --- a/stable/telegraf/Chart.yaml +++ b/stable/telegraf/Chart.yaml @@ -1,6 +1,6 @@ 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. diff --git a/stable/telegraf/templates/service.yaml b/stable/telegraf/templates/service.yaml index bfb3fca0117235319777c9ff3308ddb82a241497..b32913112c3b84974a4ae3833c8c07ad6ed246f9 100644 --- a/stable/telegraf/templates/service.yaml +++ b/stable/telegraf/templates/service.yaml @@ -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: diff --git a/stable/telegraf/values.yaml b/stable/telegraf/values.yaml index 8f9e407961ac512099d48c0592d3d65917f2e56a..36b8218bb38ccad4b30196a9dd0cc1ee6b64f989 100644 --- a/stable/telegraf/values.yaml +++ b/stable/telegraf/values.yaml @@ -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/