From 680af84b06417fc31afb2ba8aea2e70e211e1042 Mon Sep 17 00:00:00 2001 From: Trevor Richards Date: Thu, 5 Oct 2023 16:43:33 -0700 Subject: [PATCH] fix: actually put the purge cron in the configmap --- tools/config/update-configmap.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/config/update-configmap.sh b/tools/config/update-configmap.sh index 26e652fe..7d6cf63e 100644 --- a/tools/config/update-configmap.sh +++ b/tools/config/update-configmap.sh @@ -413,7 +413,7 @@ fi SCHEDULED_JOBS_EXTRACT_UNCOMPLETED_SAGAS_CRON="0 0/1 * * * *" SCHEDULED_JOBS_EXTRACT_UNCOMPLETED_SAGAS_CRON_LOCK_AT_LEAST_FOR="55s" SCHEDULED_JOBS_EXTRACT_UNCOMPLETED_SAGAS_CRON_LOCK_AT_MOST_FOR="57s" -SCHEDULED_JOBS_PURGE_EDX_USERS_CRON="0 30 0 * * *" +SCHEDULED_JOBS_PURGE_EDX_USERS_CRON_LITERAL="0 30 0 * * *" EDX_ACTIVATION_CODE_LENGTH="8" EDX_ACTIVATION_CODE_VALID_CHARACTERS="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" echo @@ -457,7 +457,8 @@ oc create -n "$OPENSHIFT_NAMESPACE"-"$envValue" configmap "$APP_NAME"-config-map --from-literal=EDX_SCHOOL_USER_ACTIVATION_INVITE_URL_APPEND="/api/edx/activate-user-verification?validationCode=" \ --from-literal=EMAIL_TEMPLATE_EDX_SCHOOL_USER_ACTIVATION_INVITE="$EMAIL_TEMPLATE_EDX_SCHOOL_USER_ACTIVATION_INVITE_LITERAL" \ --from-literal=SCHEDULED_JOBS_EXTRACT_UNCOMPLETED_SAGAS_CRON="$SCHEDULED_JOBS_EXTRACT_UNCOMPLETED_SAGAS_CRON" \ - --from-literal=SCHEDULED_JOBS_EXTRACT_UNCOMPLETED_SAGAS_CRON_LOCK_AT_LEAST_FOR="$SCHEDULED_JOBS_EXTRACT_UNCOMPLETED_SAGAS_CRON_LOCK_AT_LEAST_FOR" \ + --from-literal=SCHEDULED_JOBS_EXTRACT_UNCOMPLETED_SAGAS_CRON_LOCK_AT_LEAST_FOR="$SCHEDULED_JOBS_EXTRACT_UNCOMPLETED_SAGAS_CRON_LOCK_AT_LEAST_FOR" \ + --from-literal=SCHEDULED_JOBS_PURGE_EDX_USERS_CRON="$SCHEDULED_JOBS_PURGE_EDX_USERS_CRON_LITERAL" \ --from-literal=EMAIL_SUBJECT_EDX_NEW_SECURE_EXCHANGE_NOTIFICATION="New Secure Exchange Message" \ --from-literal=EMAIL_TEMPLATE_EDX_NEW_SECURE_EXCHANGE_NOTIFICATION="$EMAIL_TEMPLATE_EDX_NEW_SECURE_EXCHANGE_NOTIFICATION_LITERAL" \ --from-literal=EMAIL_SUBJECT_EDX_SECURE_EXCHANGE_COMMENT_NOTIFICATION="Message Added to Secure Exchange" \