Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#694 from sharkannon/master
Browse files Browse the repository at this point in the history
Updates to include annotations to the service account
  • Loading branch information
(Brien Dieterle) committed Jan 27, 2022
2 parents 33eed7f + ae5fc33 commit a21a53b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/descheduler/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}
3 changes: 3 additions & 0 deletions charts/descheduler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -103,3 +105,4 @@ livenessProbe:
scheme: HTTPS
initialDelaySeconds: 3
periodSeconds: 10

0 comments on commit a21a53b

Please sign in to comment.