Skip to content

Commit

Permalink
[helm] annotations for service account
Browse files Browse the repository at this point in the history
  • Loading branch information
kmoolya committed Jul 1, 2020
1 parent f770a1e commit 1a7740f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/botkube/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "botkube.serviceAccountName" . }}
{{- if .Values.serviceAccount.extraAnnotations }}
annotations:
{{ toYaml .Values.serviceAccount.extraAnnotations | indent 4 }}
{{- end }}
labels:
app.kubernetes.io/name: {{ include "botkube.name" . }}
helm.sh/chart: {{ include "botkube.chart" . }}
Expand Down
2 changes: 2 additions & 0 deletions helm/botkube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,5 @@ serviceAccount:
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
#name:
# annotations for the service account
annotations: {}

0 comments on commit 1a7740f

Please sign in to comment.