This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 7f1ac2d5f9 Add kerberos integration when launching trino (#28221)
7f1ac2d5f9 is described below
commit 7f1ac2d5f9ecc582247f0bcc07caf08330fb7ed4
Author: Jarek Potiuk <[email protected]>
AuthorDate: Thu Dec 8 13:30:55 2022 +0100
Add kerberos integration when launching trino (#28221)
---
dev/breeze/src/airflow_breeze/params/shell_params.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dev/breeze/src/airflow_breeze/params/shell_params.py
b/dev/breeze/src/airflow_breeze/params/shell_params.py
index f69a950389..21d1dd9acc 100644
--- a/dev/breeze/src/airflow_breeze/params/shell_params.py
+++ b/dev/breeze/src/airflow_breeze/params/shell_params.py
@@ -243,6 +243,11 @@ class ShellParams:
if len(integrations) > 0:
for integration in integrations:
compose_file_list.append(DOCKER_COMPOSE_DIR /
f"integration-{integration}.yml")
+ if "trino" in integrations and "kerberos" not in integrations:
+ get_console().print(
+ "[warning]Adding `kerberos` integration as it is implicitly
needed by trino",
+ )
+ compose_file_list.append(DOCKER_COMPOSE_DIR /
"integration-kerberos.yml")
return os.pathsep.join([os.fspath(f) for f in compose_file_list])
@property