We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 07d1dba + aa2a7d2 commit ce39ecfCopy full SHA for ce39ecf
test/setup/platforms/openshift4.ts
@@ -62,8 +62,11 @@ export async function exportKubeConfig(): Promise<void> {
62
clusterURL === 'https://api.crc.testing:6443'
63
? // TODO(ivanstanev): pin to a specific CA certificate
64
`./oc login -u "${user}" -p "${userPassword}" "${clusterURL}" --insecure-skip-tls-verify=true --kubeconfig ${kubeconfigPath}`
65
- : `./oc login --token="${userPassword}" --server="${clusterURL}" --kubeconfig ${kubeconfigPath}`;
66
- await exec(cmd);
+ : `./oc login --token="${userPassword}" "${clusterURL}" --kubeconfig ${kubeconfigPath}`;
+ const result = await exec(cmd);
67
+
68
+ console.log('oc login result:', result.stderr || result.stdout);
69
70
process.env.KUBECONFIG = kubeconfigPath;
71
}
72
0 commit comments