From 4a89730ab155b63fba7e4da7a8e54a35c9347b93 Mon Sep 17 00:00:00 2001 From: Andrew Lavery Date: Fri, 12 Jan 2024 11:39:53 -0500 Subject: [PATCH] feat: install kotsadm in default namespace, not embedded-cluster (#263) * install kotsadm in default namespace, not embedded-cluster * update unsupported overrides test case * 'kotsadm' namespace, not 'default' --- e2e/scripts/unsupported-overrides.sh | 2 +- pkg/addons/applier.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/scripts/unsupported-overrides.sh b/e2e/scripts/unsupported-overrides.sh index 0abac75ed..16d452e94 100644 --- a/e2e/scripts/unsupported-overrides.sh +++ b/e2e/scripts/unsupported-overrides.sh @@ -41,7 +41,7 @@ spec: version: 0.13.0 - chartname: oci://registry.replicated.com/library/admin-console name: admin-console - namespace: embedded-cluster + namespace: kotsadm order: 3 version: 1.105.1 values: | diff --git a/pkg/addons/applier.go b/pkg/addons/applier.go index 57872b308..0179035a3 100644 --- a/pkg/addons/applier.go +++ b/pkg/addons/applier.go @@ -135,7 +135,7 @@ func (a *Applier) load() (map[string]AddOn, error) { addons["embeddedclusteroperator"] = embedoperator } if _, disabledAddons := a.disabledAddons["adminconsole"]; !disabledAddons { - aconsole, err := adminconsole.New("embedded-cluster", a.prompt, a.config) + aconsole, err := adminconsole.New("kotsadm", a.prompt, a.config) if err != nil { return nil, fmt.Errorf("unable to create admin console addon: %w", err) }