feat(helm): add annotations on ServiceAccount (#21536)

Co-authored-by: gforien <gforien.externe@bedrockstreaming.com>
This commit is contained in:
Gabriel Forien 2022-09-21 19:39:35 +02:00 committed by GitHub
parent c66205feac
commit 8ee34e175d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 1 deletions

View File

@ -22,7 +22,7 @@ maintainers:
- name: craig-rueda
email: craig@craigrueda.com
url: https://github.com/craig-rueda
version: 0.7.2
version: 0.7.3
dependencies:
- name: postgresql
version: 11.1.22

View File

@ -28,4 +28,7 @@ metadata:
kubernetes.io/cluster-service: "true"
{{- end }}
addonmanager.kubernetes.io/mode: Reconcile
{{- if .Values.serviceAccount.annotations }}
annotations: {{- toYaml .Values.serviceAccount.annotations | nindent 4 }}
{{- end }}
{{- end -}}

View File

@ -12,6 +12,9 @@
"properties": {
"create": {
"type": "boolean"
},
"annotations": {
"type": "object"
}
},
"required": [

View File

@ -27,6 +27,7 @@ runAsUser: 0
# serviceAccountName: superset
serviceAccount:
create: false
annotations: {}
# Install additional packages and do any other bootstrap configuration in this script
# For production clusters it's recommended to build own image with this step done in CI