mirror of
https://github.com/apache/airflow.git
synced 2026-11-04 07:12:48 +00:00
Update KubeExecutor pod templates to allow access to IAM permissions (#15669)
If AWS's Identity-based IAM policies are in use on the cluster they token file will be mounted in to the pod (via the service account) and, prior to this change, will be owned by root. Specifying `fsGroup` makes the file group-readable by the `airflow` user. We already specify this in our helm chart, so this change is just for anyone looking at the docs.
This commit is contained in:
1 parent
151ba3061d
commit
1024c922e6
3 files changed
+3
No files matched your search
@@ -65,6 +65,7 @@ spec:
|
||||
restartPolicy: Never
|
||||
securityContext:
|
||||
runAsUser: 50000
|
||||
fsGroup: 50000
|
||||
nodeSelector:
|
||||
{}
|
||||
affinity:
|
||||
|
||||
@@ -62,6 +62,7 @@ spec:
|
||||
restartPolicy: Never
|
||||
securityContext:
|
||||
runAsUser: 50000
|
||||
fsGroup: 50000
|
||||
nodeSelector:
|
||||
{}
|
||||
affinity:
|
||||
|
||||
@@ -86,6 +86,7 @@ spec:
|
||||
restartPolicy: Never
|
||||
securityContext:
|
||||
runAsUser: 50000
|
||||
fsGroup: 50000
|
||||
nodeSelector:
|
||||
{}
|
||||
affinity:
|
||||
|
||||
Reference in new issue
Block a user