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/10 18:11:30 UTC
[GitHub] [airflow] eladkal edited a comment on issue #16922: Using the string ".json" in a dag makes KubernetesPodOperator worker unable to trigger the pod
eladkal edited a comment on issue #16922:
URL: https://github.com/apache/airflow/issues/16922#issuecomment-877679737
possibly due to https://github.com/apache/airflow/pull/15942
json was added as `templated_ext` which means what Airflow tries to template all fields in `template_fields` that contains the suffix `json`.
can you see if `MyKubernetesPodOperator` as:
```
class MyKubernetesPodOperator(KubernetesPodOperator):
template_ext = ('.yaml', '.yml', '.json')
```
solves your problem?
--
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