From f2ff083b8ee9c2b20df184d40ac956c1081adae9 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Tue, 7 Oct 2025 20:47:37 +0300 Subject: [PATCH] Use `RUNTIME_NAMESPACE` when setting `--events-addr` Signed-off-by: Stefan Prodan --- pkg/manifestgen/install/manifests.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/manifestgen/install/manifests.go b/pkg/manifestgen/install/manifests.go index e48eac0a..4a1463b0 100644 --- a/pkg/manifestgen/install/manifests.go +++ b/pkg/manifestgen/install/manifests.go @@ -75,7 +75,7 @@ func generate(base string, options Options) error { // traffic from going through http proxy. Without fully specified // domain they need to mention `notifications-controller` explicitly in // `no_proxy` variable after debugging http proxy logs. - options.EventsAddr = fmt.Sprintf("http://%s.%s.svc.%s./", options.NotificationController, options.Namespace, options.ClusterDomain) + options.EventsAddr = fmt.Sprintf("http://%s.$(RUNTIME_NAMESPACE).svc.%s./", options.NotificationController, options.ClusterDomain) } if err := execTemplate(options, namespaceTmpl, path.Join(base, "namespace.yaml")); err != nil {