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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to