Skip to content

Commit

Permalink
#1967: add serviceAccountAnnotations (#1968)
Browse files Browse the repository at this point in the history
add serviceAccountAnnotations
  • Loading branch information
ChrisVanLawAtFanatics committed Feb 7, 2024
1 parent e043e1b commit 5d28579
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/operator/templates/operator-serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ metadata:
name: minio-operator
namespace: {{ .Release.Namespace }}
labels: {{- include "minio-operator.labels" . | nindent 4 }}
{{- with .Values.operator.serviceAccountAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
2 changes: 2 additions & 0 deletions helm/operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ operator:
env:
- name: OPERATOR_STS_ENABLED
value: "on"
# An array of additional annotations to be applied to the operator service account
serviceAccountAnnotations: []
###
# Specify the Operator container image to use for the deployment.
# ``image.tag``
Expand Down

0 comments on commit 5d28579

Please sign in to comment.