diff --git a/charts/descheduler/templates/serviceaccount.yaml b/charts/descheduler/templates/serviceaccount.yaml index 8149ce0721..060cb5598f 100644 --- a/charts/descheduler/templates/serviceaccount.yaml +++ b/charts/descheduler/templates/serviceaccount.yaml @@ -5,4 +5,7 @@ metadata: name: {{ template "descheduler.serviceAccountName" . }} labels: {{- include "descheduler.labels" . | nindent 4 }} +{{- if .Values.serviceAccount.annotations }} + annotations: {{ toYaml .Values.serviceAccount.annotations | nindent 4 }} +{{- end }} {{- end -}} diff --git a/charts/descheduler/values.yaml b/charts/descheduler/values.yaml index 75aaabef6e..e896fe02b0 100644 --- a/charts/descheduler/values.yaml +++ b/charts/descheduler/values.yaml @@ -94,6 +94,8 @@ serviceAccount: # The name of the ServiceAccount to use. # If not set and create is true, a name is generated using the fullname template name: + # Specifies custom annotations for the serviceAccount + annotations: {} livenessProbe: failureThreshold: 3 @@ -103,3 +105,4 @@ livenessProbe: scheme: HTTPS initialDelaySeconds: 3 periodSeconds: 10 +