diff --git a/helm/superset/Chart.yaml b/helm/superset/Chart.yaml index 7e8c6c07d72a3..10e4fadd4abdb 100644 --- a/helm/superset/Chart.yaml +++ b/helm/superset/Chart.yaml @@ -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 diff --git a/helm/superset/templates/service-account.yaml b/helm/superset/templates/service-account.yaml index 680b137370199..8d1171fad4445 100755 --- a/helm/superset/templates/service-account.yaml +++ b/helm/superset/templates/service-account.yaml @@ -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 -}} diff --git a/helm/superset/values.schema.json b/helm/superset/values.schema.json index 996c88b8e665f..d554cbcc3b06c 100644 --- a/helm/superset/values.schema.json +++ b/helm/superset/values.schema.json @@ -12,6 +12,9 @@ "properties": { "create": { "type": "boolean" + }, + "annotations": { + "type": "object" } }, "required": [ diff --git a/helm/superset/values.yaml b/helm/superset/values.yaml index 992a950b64450..df93336447238 100644 --- a/helm/superset/values.yaml +++ b/helm/superset/values.yaml @@ -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