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/30 11:54:41 UTC

[GitHub] [airflow] jdomag opened a new issue #17338: no variables injected via AIRFLOW_VAR_NAME

jdomag opened a new issue #17338:
URL: https://github.com/apache/airflow/issues/17338


   
   
   **Apache Airflow version**: 2.1.1
   
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`): 1.18.11
   
   **Environment**: helm chart used to install airflow https://airflow.apache.org/docs/helm-chart/stable/adding-connections-and-variables.html#variables
   
   **What happened**:
   When I inject variables to airflow webserver pods via AIRFLOW_VAR_{NAME}  ( accordingly to: https://airflow.apache.org/docs/apache-airflow/stable/howto/variable.html#storing-variables-in-environment-variables ) 
   
   I can't see them in Airflow webserver (Admin->Vabiables).
   Vars in the pod:
   ```
   kubectl exec airflow-webserver-76d474c884-t76s8 -- printenv | grep AIRFLOW_VAR
   AIRFLOW_VAR_ANOTHER_KEY=value_2
   AIRFLOW__KUBERNETES_ENVIRONMENT_VARIABLES__AIRFLOW_VAR_ANOTHER_KEY=value_2
   
   ```
   
   <!-- (please include exact error messages if you can) -->
   
   **What you expected to happen**: Variavle avaliable in UI in admin->Variables 
   


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



[GitHub] [airflow] boring-cyborg[bot] commented on issue #17338: no variables injected via AIRFLOW_VAR_NAME

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #17338:
URL: https://github.com/apache/airflow/issues/17338#issuecomment-889842013


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


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



[GitHub] [airflow] potiuk commented on issue #17338: no variables injected via AIRFLOW_VAR_NAME

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #17338:
URL: https://github.com/apache/airflow/issues/17338#issuecomment-889865192


   Variables added via env vars or secrets are not visibile in the UI. This is by design, also because you cannot modify them. The Variables UI is not "all variables of Airflow" but "Those variables that are defined in the DB and editable".


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



[GitHub] [airflow] potiuk closed issue #17338: no variables injected via AIRFLOW_VAR_NAME

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #17338:
URL: https://github.com/apache/airflow/issues/17338


   


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