K8s: for tests to use kubectl access, port-forwarding requires 0.0.0.0 (#94836)

This commit is contained in:
Charandas authored and GitHub committed 2024-10-17 11:15:57 -07:00
1 parent c12a662f9f
commit 2fd4fe40f0
1 file changed
+1 -1
+1 -1
View File
@@ -26,7 +26,7 @@ func applyGrafanaConfig(cfg *setting.Cfg, features featuremgmt.FeatureToggles, o
if cfg.Env == setting.Dev {
defaultLogLevel = 10
port = 6443
ip = net.ParseIP("127.0.0.1")
ip = net.ParseIP("0.0.0.0")
apiURL = fmt.Sprintf("https://%s:%d", ip, port)
}