修改配置
This commit is contained in:
parent
807644904b
commit
3c3532b4c5
|
@ -134,7 +134,7 @@ gulp.task('connect', ['watch'], function() {
|
||||||
// lets disable unauthorised TLS issues with kube REST API
|
// lets disable unauthorised TLS issues with kube REST API
|
||||||
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
|
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);
|
console.log("==== using KUBERNETES URL: " + kubeBase);
|
||||||
var kube = uri(urljoin(kubeBase, 'api'));
|
var kube = uri(urljoin(kubeBase, 'api'));
|
||||||
var kubeapis = uri(urljoin(kubeBase, 'apis'));
|
var kubeapis = uri(urljoin(kubeBase, 'apis'));
|
||||||
|
@ -249,8 +249,8 @@ gulp.task('connect', ['watch'], function() {
|
||||||
targetPath: '/hawtio/git'
|
targetPath: '/hawtio/git'
|
||||||
}, {
|
}, {
|
||||||
proto: "http",
|
proto: "http",
|
||||||
port: "8080",
|
port: "9001",
|
||||||
hostname: "127.0.0.1", //hostname:"127.0.0.1"
|
hostname: "192.168.191.1", //hostname:"127.0.0.1"
|
||||||
path: '/java/console/api',
|
path: '/java/console/api',
|
||||||
targetPath: "/"
|
targetPath: "/"
|
||||||
}];
|
}];
|
||||||
|
|
Loading…
Reference in New Issue