Skip to content

Commit

Permalink
Add annotations for serviceaccount (#1248)
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Sim <1330522+ihcsim@users.noreply.github.com>
  • Loading branch information
muffl0n and ihcsim authored Mar 17, 2022
1 parent 1446d14 commit b8e8008
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/kanister-operator/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
apiVersion: v1
kind: ServiceAccount
metadata:
annotations:
{{- with .Values.serviceAccount.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{ include "kanister-operator.helmLabels" . | indent 4 }}
name: {{ template "kanister-operator.serviceAccountName" . }}
Expand Down
1 change: 1 addition & 0 deletions helm/kanister-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ rbac:
serviceAccount:
create: true
name:
annotations:
controller:
service:
port: 443
Expand Down

0 comments on commit b8e8008

Please sign in to comment.