openshift-apps/coreos-ostree-importer: more debugging

This time let's see if the application can start. If it doesn't
start successfully then sleep so we can debug it in the running pod.
This commit is contained in:
Dusty Mabe 2022-09-29 14:47:17 -04:00
parent a57e71e0b1
commit 61c1063225
No known key found for this signature in database
GPG key ID: 3302DBD73952E671

View file

@ -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: ['-c', '/usr/local/bin/coreos-ostree-importer-wrapper || sleep infinity']
command: ['/usr/bin/bash']
volumeMounts:
- name: fedora-ostree-content-volume
mountPath: /mnt/koji