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 2022/10/13 09:21:37 UTC

[GitHub] [airflow] uranusjr commented on a diff in pull request #27028: Add kerberos environment variables to the docs

uranusjr commented on code in PR #27028:
URL: https://github.com/apache/airflow/pull/27028#discussion_r994385860


##########
docs/apache-airflow/security/kerberos.rst:
##########
@@ -61,6 +61,14 @@ your ``airflow.cfg``
     reinit_frequency = 3600
     principal = airflow
 
+In case you are using Airflow in a docker container based environment,
+you can set the below environment variables in the ``Dockerfile`` instead of modifying ``airflow.cfg``
+
+ENV AIRFLOW__CORE__SECURITY kerberos
+ENV AIRFLOW__KERBEROS__KEYTAB /etc/airflow/airflow.keytab
+ENV AIRFLOW__KERBEROS__INCLUDE_IP False

Review Comment:
   ```suggestion
   .. code-block:: dockerfile
   
       ENV AIRFLOW__CORE__SECURITY kerberos
       ENV AIRFLOW__KERBEROS__KEYTAB /etc/airflow/airflow.keytab
       ENV AIRFLOW__KERBEROS__INCLUDE_IP False
   ```



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