stream logs through standard input and new remote client cli command

This commit is contained in:
Frostebite 2023-06-05 23:15:49 +01:00
parent 596f3fb648
commit 76e8818089
3 changed files with 1 additions and 1 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View File

@ -118,7 +118,7 @@ class KubernetesTaskRunner {
async () => { async () => {
const status = await kubeClient.readNamespacedPodStatus(podName, namespace); const status = await kubeClient.readNamespacedPodStatus(podName, namespace);
const phase = status?.body.status?.phase; const phase = status?.body.status?.phase;
waitComplete = phase !== 'Pending' && phase !== 'Unknown'; waitComplete = phase !== 'Pending';
message = `Phase:${status.body.status?.phase} \n Reason:${ message = `Phase:${status.body.status?.phase} \n Reason:${
status.body.status?.conditions?.[0].reason || '' status.body.status?.conditions?.[0].reason || ''
} \n Message:${status.body.status?.conditions?.[0].message || ''}`; } \n Message:${status.body.status?.conditions?.[0].message || ''}`;