Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion charts/airflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ Parameter | Description | Default
--- | --- | ---
`serviceAccount.create` | if a Kubernetes ServiceAccount is created | `true`
`serviceAccount.name` | the name of the ServiceAccount | `""`
`serviceAccount.automountServiceAccountToken` | mount serviceAccountToken? | `false`
`serviceAccount.annotations` | annotations for the ServiceAccount | `{}`

</details>
Expand Down Expand Up @@ -573,4 +574,4 @@ Parameter | Description | Default
`prometheusRule.additionalLabels` | labels for PrometheusRule, so that Prometheus can select it | `{}`
`prometheusRule.groups` | alerting rules for Prometheus | `[]`

</details>
</details>
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{- if .Values.serviceAccount.create }}
apiVersion: v1
kind: ServiceAccount
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
metadata:
name: {{ include "airflow.serviceAccountName" . }}
{{- if .Values.serviceAccount.annotations }}
Expand Down
3 changes: 3 additions & 0 deletions charts/airflow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1785,6 +1785,9 @@ serviceAccount:
##
name: ""

## mount the service account token
automountServiceAccountToken: false

## annotations for the ServiceAccount
##
## ____ EXAMPLE _______________
Expand Down
Loading