mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
K8s: for tests to use kubectl access, port-forwarding requires 0.0.0.0 (#94836)
This commit is contained in:
parent
c12a662f9f
commit
2fd4fe40f0
@ -26,7 +26,7 @@ func applyGrafanaConfig(cfg *setting.Cfg, features featuremgmt.FeatureToggles, o
|
|||||||
if cfg.Env == setting.Dev {
|
if cfg.Env == setting.Dev {
|
||||||
defaultLogLevel = 10
|
defaultLogLevel = 10
|
||||||
port = 6443
|
port = 6443
|
||||||
ip = net.ParseIP("127.0.0.1")
|
ip = net.ParseIP("0.0.0.0")
|
||||||
apiURL = fmt.Sprintf("https://%s:%d", ip, port)
|
apiURL = fmt.Sprintf("https://%s:%d", ip, port)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user