Unverified Commit aeb43e96 authored by Yong Wen Chua's avatar Yong Wen Chua Committed by GitHub

[telegraf] Support Annotations for ServiceAccount (#184)

* [telegraf] Support Annotations for ServiceAccount Signed-off-by: 's avatarYong Wen Chua <lawliet89@users.noreply.github.com> * fix: version bump Co-authored-by: 's avatarDavid McKay <david@rawkode.com>
parent 7c87962b
apiVersion: v1 apiVersion: v1
name: telegraf name: telegraf
version: 1.7.25 version: 1.7.26
appVersion: 1.14 appVersion: 1.14
deprecated: false deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics. description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
...@@ -5,4 +5,8 @@ metadata: ...@@ -5,4 +5,8 @@ metadata:
name: {{ template "telegraf.serviceAccountName" . }} name: {{ template "telegraf.serviceAccountName" . }}
labels: labels:
{{- include "telegraf.labels" . | nindent 4 }} {{- include "telegraf.labels" . | nindent 4 }}
{{- if .Values.serviceAccount.annotations }}
annotations:
{{- toYaml .Values.serviceAccount.annotations | nindent 4 }}
{{- end }}
{{- end }} {{- end }}
...@@ -113,6 +113,8 @@ serviceAccount: ...@@ -113,6 +113,8 @@ serviceAccount:
# The name of the ServiceAccount to use. # The name of the ServiceAccount to use.
# If not set and create is true, a name is generated using the fullname template # If not set and create is true, a name is generated using the fullname template
name: name:
# Annotations for the ServiceAccount
annotations: {}
## Exposed telegraf configuration ## Exposed telegraf configuration
## For full list of possible values see `/docs/all-config-values.yaml` and `/docs/all-config-values.toml` ## For full list of possible values see `/docs/all-config-values.yaml` and `/docs/all-config-values.toml`
......
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