Allow to add annotations on the serviceAccount managed by the helm chart

Signed-off-by: signaleleven <michael.sacchi@signal-eleven.com>
Co-authored-by: JenTing Hsiao <hsiaoairplane@gmail.com>
This commit is contained in:
signaleleven 2021-12-17 17:00:35 +01:00 committed by David Ko
parent 571bc65be2
commit 3bad923306
2 changed files with 8 additions and 0 deletions

View File

@ -4,3 +4,7 @@ metadata:
name: longhorn-service-account
namespace: {{ include "release_namespace" . }}
labels: {{- include "longhorn.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}

View File

@ -227,3 +227,7 @@ namespaceOverride: ""
# Annotations to add to the Longhorn Manager DaemonSet Pods. Optional.
annotations: {}
serviceAccount:
# Annotations to add to the service account
annotations: {}