Skip to content

Commit

Permalink
feat: install kotsadm in default namespace, not embedded-cluster (#263)
Browse files Browse the repository at this point in the history
* install kotsadm in default namespace, not embedded-cluster

* update unsupported overrides test case

* 'kotsadm' namespace, not 'default'
  • Loading branch information
laverya authored Jan 12, 2024
1 parent d34eb88 commit 4a89730
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/scripts/unsupported-overrides.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion pkg/addons/applier.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 4a89730

Please sign in to comment.