diff --git a/gulpfile.js b/gulpfile.js index 21be333..d433f04 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -130,10 +130,11 @@ gulp.task('watch', ['build', 'watch-less'], function() { }); gulp.task('connect', ['watch'], function() { + // lets disable unauthorised TLS issues with kube REST API process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"; - var kubeBase = process.env.KUBERNETES_MASTER || 'https://localhost:8443'; + var kubeBase = process.env.KUBERNETES_MASTER || 'https://192.168.191.120:8443'; console.log("==== using KUBERNETES URL: " + kubeBase); var kube = uri(urljoin(kubeBase, 'api')); var kubeapis = uri(urljoin(kubeBase, 'apis')); @@ -173,7 +174,7 @@ gulp.task('connect', ['watch'], function() { localProxies.push({ proto: "http", port: "8080", - hostname: "localhost", + hostname: "localhost", //hostname:localhost path: '/api/v1/proxy/namespaces/default/services/fabric8-forge', targetPath: "/" }); @@ -248,8 +249,8 @@ gulp.task('connect', ['watch'], function() { targetPath: '/hawtio/git' }, { proto: "http", - port: "8088", - hostname: "192.168.0.110", + port: "8080", + hostname: "127.0.0.1", //hostname:"127.0.0.1" path: '/java/console/api', targetPath: "/" }];