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