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/07/28 10:09:06 UTC

[GitHub] [airflow] kaxil commented on issue #17186: Smarter template_ext processing

kaxil commented on issue #17186:
URL: https://github.com/apache/airflow/issues/17186#issuecomment-888184665


   Airflow shouldn't try to template the following. It's a bug -- for recursive we look for `template_fields` attribute (https://github.com/apache/airflow/pull/4743/files#diff-b5ec97b8301ab688b7e045426f24d485). `k8s.V1EnvVar` should have that attribute so it should not try to render template. Need to look at it in more detail 👀 . 
   
   ```python.
   env_vars=[
               k8s.V1EnvVar(
                   name="GOOGLE_APPLICATION_CREDENTIALS",
                   value="/var/secrets/google/service-account.json",
               ),
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

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