apiVersion: v1
kind: Pod
metadata:
  name: example
spec:
  containers:
    - name: busybox
      image: puckel/docker-airflow:1.10.4
      env:
        - name: FERNET_KEY
          value: "hash_key"
      command:
        - /bin/sh
        - -c
        - "while true; do date; sleep 5; done"
      volumeMounts:
        - name: config-volume
          mountPath: /usr/local/airflow/airflow.cfg
          subPath: airflow.cfg
  volumes:
    - name: config-volume
      configMap:
        name: airflow-config