You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/01/07 11:06:31 UTC

[GitHub] [airflow] mik-laj commented on issue #11649: SQLAlchemy string is passed to worker pod in plain text as env var

mik-laj commented on issue #11649:
URL: https://github.com/apache/airflow/issues/11649#issuecomment-756048934


   @ashishraman Can you check if this problem also occurs when you use option [`pod_template_file`](http://apache-airflow-docs.s3-website.eu-central-1.amazonaws.com/docs/apache-airflow/latest/configurations-ref.html#config-kubernetes-pod-template-file) to configure KubernetesExecutor?  I guess this maybe should give you enough flexibility to configure a worker to use a secret.
   
   When you use the pod_template_file option, the worker gets a configuration similar to the rest of the components.
   https://github.com/apache/airflow/blob/308f1d06668ad427fd2483077d8e60f55ee617e6/chart/files/pod-template-file.kubernetes-helm-yaml#L35
   https://github.com/apache/airflow/blob/3188b130b5f61332e24c340ac6c0569efa4e8056/chart/templates/_helpers.yaml#L26
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org