Merge pull request #300 from zryfish/fix_kiali_config

fix kiali config
This commit is contained in:
zryfish
2019-03-20 11:43:53 +08:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -95,7 +95,7 @@ func initializeKialiConfig(s *options.ServerRunOptions) {
// Exclude system namespaces
config.API.Namespaces.Exclude = []string{"istio-system", "kubesphere*", "kube*"}
config.InCluster = false
config.InCluster = true
// Set default prometheus service url
config.ExternalServices.PrometheusServiceURL = "http://prometheus.kubesphere-monitoring-system.svc:9090"

View File

@@ -32,6 +32,7 @@ import (
_ "kubesphere.io/kubesphere/pkg/apis/metrics/install"
_ "kubesphere.io/kubesphere/pkg/apis/operations/install"
_ "kubesphere.io/kubesphere/pkg/apis/resources/install"
_ "kubesphere.io/kubesphere/pkg/apis/servicemesh/metrics/install"
)
var output string