Skip to content

Commit 158eb58

Browse files
committed
✨ Allow mouting of service account token
1 parent a5e146b commit 158eb58

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

charts/airflow/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ Parameter | Description | Default
439439
--- | --- | ---
440440
`serviceAccount.create` | if a Kubernetes ServiceAccount is created | `true`
441441
`serviceAccount.name` | the name of the ServiceAccount | `""`
442+
`serviceAccount.automountServiceAccountToken` | mount serviceAccountToken? | `false`
442443
`serviceAccount.annotations` | annotations for the ServiceAccount | `{}`
443444

444445
</details>

charts/airflow/templates/rbac/airflow-serviceaccount.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{{- if .Values.serviceAccount.create }}
22
apiVersion: v1
33
kind: ServiceAccount
4+
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
45
metadata:
56
name: {{ include "airflow.serviceAccountName" . }}
67
{{- if .Values.serviceAccount.annotations }}

charts/airflow/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1785,6 +1785,9 @@ serviceAccount:
17851785
##
17861786
name: ""
17871787

1788+
## mount the service account token
1789+
automountServiceAccountToken: false
1790+
17881791
## annotations for the ServiceAccount
17891792
##
17901793
## ____ EXAMPLE _______________

0 commit comments

Comments
 (0)