From d5b2d1fa30ae8accc883a00263c4d26ca2351cdc Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jul 08 2020 17:10:58 +0000 Subject: Revert "toddlers: specify the image to use in the same was as in the deployment config" This reverts commit d7cb20c356145295e2b68731a276b9241b46ec42. --- diff --git a/roles/openshift-apps/toddlers/templates/cron_playtime.yml b/roles/openshift-apps/toddlers/templates/cron_playtime.yml index 9723128..c44427b 100644 --- a/roles/openshift-apps/toddlers/templates/cron_playtime.yml +++ b/roles/openshift-apps/toddlers/templates/cron_playtime.yml @@ -6,7 +6,7 @@ spec: successfulJobsHistoryLimit: 3 failedJobsHistoryLimit: 3 concurrencyPolicy: Forbid - schedule: "09 17 * * *" + schedule: "12 17 * * *" startingDeadlineSeconds: 500 jobTemplate: spec: @@ -18,7 +18,7 @@ spec: restartPolicy: Never containers: - name: toddlers - image: toddlers:latest + image: docker-registry.default.svc:5000/toddlers/toddlers:latest # command: ["/usr/bin/python3", "/code/toddlers/toddlers/playtime.py", "packager_bugzilla_sync"] command: ["ls", "-l", "/", "/code", "/code/toddlers", "/code/toddlers/toddlers"] env: