Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-4854

Env Var passed to K8 worker pod should be case sensitive

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.10.2
    • Fix Version/s: None
    • Component/s: executors
    • Labels:
      None

      Description

      We are using K8Executor and there is a use case where users might provide env variable in lower case which is read by their custom operator in K8 Pod. But currently it seems that in K8 executor env variables are transformed in to upper case https://github.com/apache/airflow/blob/f520d02cc1f41f9861f479f984bb52bda3860d30/airflow/kubernetes/secret.py#L43.

      These should be passed in case sensitive manner

        Attachments

          Activity

            People

            • Assignee:
              anand.g14 Anand
              Reporter:
              ramandumcs raman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: