From 47c6cacc51382e768e0ac6419aac79e683275748 Mon Sep 17 00:00:00 2001 From: yuenmichelle1 Date: Fri, 19 Apr 2024 12:43:47 -0500 Subject: [PATCH] update cron yml to properly pull config --- kubernetes/corp_user_groups_cron_sync.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kubernetes/corp_user_groups_cron_sync.yml b/kubernetes/corp_user_groups_cron_sync.yml index e90b276..aec2ffb 100644 --- a/kubernetes/corp_user_groups_cron_sync.yml +++ b/kubernetes/corp_user_groups_cron_sync.yml @@ -23,6 +23,9 @@ spec: secretKeyRef: name: eras-production key: rails-master-key - command: ['ruby', './scripts/user_group_membership_classification_backfill.rb'] + command: + - /bin/sh + - -c + - cd scripts; ruby user_group_membership_classification_backfill.rb restartPolicy: Never backoffLimit: 2