From a8adb5999531bcd526231073a143053045bdc92d Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Fri, 13 May 2022 13:46:46 +0200 Subject: [PATCH] templates/composer: Enable specific maintenance parts Similar to DRY_RUN, these values should be overwritten in app-interface per namespace. At some point the maintenance specific to the CRC tenant (aws and gcp maintenance) should run in the workers namespace rather than the composer namespace. Granularity is needed for this. --- templates/composer.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/templates/composer.yml b/templates/composer.yml index 5256daff2..0ea3397d9 100644 --- a/templates/composer.yml +++ b/templates/composer.yml @@ -368,6 +368,12 @@ objects: key: secret_access_key - name: DRY_RUN value: "${MAINTENANCE_DRY_RUN}" + - name: ENABLE_AWS_MAINTENANCE + value: "${ENABLE_AWS_MAINTENANCE}" + - name: ENABLE_GCP_MAINTENANCE + value: "${ENABLE_GCP_MAINTENANCE}" + - name: ENABLE_DB_MAINTENANCE + value: "${ENABLE_DB_MAINTENANCE}" - name: MAX_CONCURRENT_REQUESTS value: "${MAINTENANCE_MAX_CONCURRENT_REQUESTS}" @@ -440,6 +446,21 @@ parameters: # don't change this value, overwrite it in app-interface for a specific namespace value: "true" required: true + - description: Enable AWS maintenance + name: ENABLE_AWS_MAINTENANCE + # don't change this value, overwrite it in app-interface for a specific namespace + value: "false" + required: true + - description: Enable GPC maintenance + name: ENABLE_GCP_MAINTENANCE + # don't change this value, overwrite it in app-interface for a specific namespace + value: "false" + required: true + - description: Enable DB maintenance + name: ENABLE_DB_MAINTENANCE + # don't change this value, overwrite it in app-interface for a specific namespace + value: "false" + required: true - description: composer-maintenance max concurrent requests name: MAINTENANCE_MAX_CONCURRENT_REQUESTS value: "10"