From d84897eefc081abaf12a339ded9d9806dc8a2c11 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Wed, 14 Dec 2022 13:12:14 -0500 Subject: [PATCH] add sleep for coreos-ostree-importer and fedora-ostree-pruner to debug Having some trouble with the pruner and importer right now so let's try to debug further by just getting a terminal in the pods. --- .../coreos-ostree-importer/templates/deploymentconfig.yml | 4 ++-- .../fedora-ostree-pruner/templates/deploymentconfig.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/openshift-apps/coreos-ostree-importer/templates/deploymentconfig.yml b/roles/openshift-apps/coreos-ostree-importer/templates/deploymentconfig.yml index 9c57371674..0c3e25971c 100644 --- a/roles/openshift-apps/coreos-ostree-importer/templates/deploymentconfig.yml +++ b/roles/openshift-apps/coreos-ostree-importer/templates/deploymentconfig.yml @@ -20,8 +20,8 @@ spec: - name: coreos-ostree-importer # sleep infinity is useful for debugging environment issues # comment out when not debugging - # args: ['infinity'] - # command: ['/usr/bin/sleep'] + args: ['infinity'] + command: ['/usr/bin/sleep'] volumeMounts: - name: fedora-ostree-content-volume mountPath: /mnt/koji diff --git a/roles/openshift-apps/fedora-ostree-pruner/templates/deploymentconfig.yml b/roles/openshift-apps/fedora-ostree-pruner/templates/deploymentconfig.yml index 9fc3326522..cad70d94ad 100644 --- a/roles/openshift-apps/fedora-ostree-pruner/templates/deploymentconfig.yml +++ b/roles/openshift-apps/fedora-ostree-pruner/templates/deploymentconfig.yml @@ -20,8 +20,8 @@ spec: - name: fedora-ostree-pruner # sleep infinity is useful for debugging environment issues # comment out when not debugging - #args: ['infinity'] - #command: ['/usr/bin/sleep'] + args: ['infinity'] + command: ['/usr/bin/sleep'] volumeMounts: - name: fedora-ostree-content-volume mountPath: /mnt/koji