zeotuan commented on code in PR #34386:
URL: https://github.com/apache/airflow/pull/34386#discussion_r1359200998
##########
airflow/security/kerberos.py:
##########
@@ -59,10 +63,7 @@ def renew_from_kt(principal: str | None, keytab: str,
exit_on_fail: bool = True)
# minutes to give ourselves a large renewal buffer.
renewal_lifetime = f"{conf.getint('kerberos', 'reinit_frequency')}m"
- cmd_principal = principal or conf.get_mandatory_value("kerberos",
"principal").replace(
- "_HOST", get_hostname()
- )
-
+ cmd_principal = get_kerberos_principle(principal)
Review Comment:
Sure. I have added another PR here #34936
--
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]