log kubectl port-forward stderr

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
Jim Ehrismann committed 2021-10-27 14:49:12 -04:00
1 parent 47efade1c6
commit 13bb187147
1 file changed
+4
+4
View File
@@ -96,6 +96,10 @@ class PortForward {
}
});
this.process.stderr.on("data", (data) => {
logger.warn(`[PORT-FORWARD-ROUTE]: kubectl port-forward process stderr: ${data}`);
});
const internalPort = await getPortFrom(this.process.stdout, {
lineRegex: internalPortRegex,
});