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 - name: craig-rueda
email: craig@craigrueda.com email: craig@craigrueda.com
url: https://github.com/craig-rueda url: https://github.com/craig-rueda
version: 0.7.2 version: 0.7.3
dependencies: dependencies:
- name: postgresql - name: postgresql
version: 11.1.22 version: 11.1.22

View File

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

View File

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

View File

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