Use airflow service account from a different namespace #13648
Unanswered
exilemirror
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
I'm deploying airflow using kubernetes and hitting an error "error looking up service account default/svca-airflow-sa"
I have created the service account svca-airflow-sa under namespace airflow. How do i define the pods to use the svca-airflow-sa account under the airflow namespace.
I have define the following in the deployment.yaml file.
namespace: airflow-sa
spec:
serviceAccountName: svca-airflow-sa
env:
- name: AIRFLOW__KUBERNETES__WORKER_SERVICE_ACCOUNT_NAME
value: svca-airflow-sa
Beta Was this translation helpful? Give feedback.
All reactions