修改配置

This commit is contained in:
ladventure 2017-12-20 15:13:44 +08:00
parent 807644904b
commit 3c3532b4c5
1 changed files with 3 additions and 3 deletions

View File

@ -134,7 +134,7 @@ 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://192.168.191.120:8443';
var kubeBase = process.env.KUBERNETES_MASTER || 'http://192.168.191.120:8080';
console.log("==== using KUBERNETES URL: " + kubeBase);
var kube = uri(urljoin(kubeBase, 'api'));
var kubeapis = uri(urljoin(kubeBase, 'apis'));
@ -249,8 +249,8 @@ gulp.task('connect', ['watch'], function() {
targetPath: '/hawtio/git'
}, {
proto: "http",
port: "8080",
hostname: "127.0.0.1", //hostname:"127.0.0.1"
port: "9001",
hostname: "192.168.191.1", //hostname:"127.0.0.1"
path: '/java/console/api',
targetPath: "/"
}];