From d5b341a76e18e3cba857a6fe7ccf40220a24d02b Mon Sep 17 00:00:00 2001 From: Jim Grady Date: Thu, 7 Sep 2023 10:43:23 -0400 Subject: [PATCH] Configure whether languages should be installed on a per chart basis (#2548) --- deploy/scripts/setup_combine.py | 3 ++- deploy/scripts/setup_files/combine_config.yaml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/deploy/scripts/setup_combine.py b/deploy/scripts/setup_combine.py index 14b332fec5..26b9d382bb 100755 --- a/deploy/scripts/setup_combine.py +++ b/deploy/scripts/setup_combine.py @@ -347,7 +347,8 @@ def main() -> None: ] ) - add_language_overrides(this_config, chart=chart, langs=args.langs) + if config["charts"][chart]["install_langs"]: + add_language_overrides(this_config, chart=chart, langs=args.langs) add_override_values( this_config, diff --git a/deploy/scripts/setup_files/combine_config.yaml b/deploy/scripts/setup_files/combine_config.yaml index 2d0df36dab..a0ff17e48f 100644 --- a/deploy/scripts/setup_files/combine_config.yaml +++ b/deploy/scripts/setup_files/combine_config.yaml @@ -117,6 +117,7 @@ profiles: charts: thecombine: namespace: thecombine + install_langs: true secrets: - config_item: awsAccount env_var: AWS_ACCOUNT @@ -134,6 +135,7 @@ charts: env_var: COMBINE_SMTP_PASSWORD create-admin-user: namespace: thecombine + install_langs: false secrets: - config_item: awsAccount env_var: AWS_ACCOUNT @@ -153,6 +155,7 @@ charts: env_var: COMBINE_ADMIN_EMAIL cert-proxy-server: namespace: combine-cert-proxy + install_langs: false secrets: - config_item: awsAccount env_var: AWS_ACCOUNT