From 7b849b7a0f6557ee001b39eb3d68e13be2b77462 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 6 Jul 2020 17:53:21 +0200 Subject: [PATCH] toddlers: Try specifying the command to run in the container This should allow us to re-use the container for other commands with playtime Signed-off-by: Pierre-Yves Chibon --- roles/openshift-apps/toddlers/templates/deploymentconfig.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/openshift-apps/toddlers/templates/deploymentconfig.yml b/roles/openshift-apps/toddlers/templates/deploymentconfig.yml index d0a07fec9b..1052abfd68 100644 --- a/roles/openshift-apps/toddlers/templates/deploymentconfig.yml +++ b/roles/openshift-apps/toddlers/templates/deploymentconfig.yml @@ -22,6 +22,10 @@ spec: containers: - name: toddlers image: toddlers:latest + command: ["fedora-messaging", "consume"] + env: + - name: PYTHONPATH + value: "/code" resources: {} volumeMounts: - name: toddlers-secret-volume