From 7eecfb4cb10edbb8b19ab7cdcc8e15798fb1f8ff Mon Sep 17 00:00:00 2001 From: Diogo Recharte Date: Tue, 6 Feb 2024 13:38:10 +0000 Subject: [PATCH] EVEREST-633 forbid installs in the monitoring namespace --- pkg/install/install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/install/install.go b/pkg/install/install.go index 01e19603..00f9cb4f 100644 --- a/pkg/install/install.go +++ b/pkg/install/install.go @@ -177,7 +177,7 @@ func (o *Install) populateConfig() error { return errors.New("namespace list is empty. Specify at least one namespace using the --namespace flag") } for _, ns := range o.config.Namespaces { - if ns == SystemNamespace { + if ns == SystemNamespace || ns == monitoringNamespace { return fmt.Errorf("'%s' namespace is reserved for Everest internals. Please specify another namespace", ns) } }