Skip to content

Commit cd8829f

Browse files
substitute default ns for telemetryNs in yaml for prom install (istio#51772)
Signed-off-by: Whitney Griffith <whitney.griffith16@gmail.com>
1 parent aa4fcce commit cd8829f

File tree

1 file changed

+1
-0
lines changed
  • pkg/test/framework/components/prometheus

1 file changed

+1
-0
lines changed

pkg/test/framework/components/prometheus/kube.go

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ func installPrometheus(ctx resource.Context, ns string) error {
7474
if err != nil {
7575
return err
7676
}
77+
yaml = strings.ReplaceAll(yaml, "namespace: istio-system", fmt.Sprintf("namespace: %s", ns))
7778
if err := ctx.ConfigKube().YAML(ns, yaml).Apply(apply.NoCleanup); err != nil {
7879
return err
7980
}

0 commit comments

Comments
 (0)