Unverified Commit 1d311adb authored by James Valente's avatar James Valente Committed by GitHub

telegraf-ds: support annotations on serviceaccount (#414)

parent bea84730
apiVersion: v1 apiVersion: v1
name: telegraf-ds name: telegraf-ds
version: 1.0.28 version: 1.0.29
appVersion: 1.21.1 appVersion: 1.21.1
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: {{ include "telegraf.serviceAccountName" . }} name: {{ include "telegraf.serviceAccountName" . }}
labels: labels:
{{- include "telegraf.labels" . | nindent 4 }} {{- include "telegraf.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }} {{- end }}
...@@ -79,6 +79,8 @@ serviceAccount: ...@@ -79,6 +79,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: {}
## Specify priorityClassName ## Specify priorityClassName
## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/ ## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
......
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