This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch v1-10-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit e58cfa016c0525069598e4084f372077ffb1ea56 Author: highfly22 <[email protected]> AuthorDate: Wed Nov 18 21:48:08 2020 +0800 Cope with '%' in password when waiting for migrations (#12440) (cherry picked from commit d4c3d32ae5f7c4915d7aac31cb75bb720c246538) --- chart/templates/_helpers.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/templates/_helpers.yaml b/chart/templates/_helpers.yaml index df7b158..98efc9f 100644 --- a/chart/templates/_helpers.yaml +++ b/chart/templates/_helpers.yaml @@ -380,7 +380,7 @@ server_tls_key_file = /etc/pgbouncer/server.key directory = os.path.join(package_dir, 'migrations') config = Config(os.path.join(package_dir, 'alembic.ini')) config.set_main_option('script_location', directory) - config.set_main_option('sqlalchemy.url', settings.SQL_ALCHEMY_CONN) + config.set_main_option('sqlalchemy.url', settings.SQL_ALCHEMY_CONN.replace('%', '%%')) script_ = ScriptDirectory.from_config(config) timeout=60
