diff --git a/salt/metalk8s/addons/ui/deployed/ui.sls.in b/salt/metalk8s/addons/ui/deployed/ui.sls.in index 4ff03832a5..d62c12d992 100644 --- a/salt/metalk8s/addons/ui/deployed/ui.sls.in +++ b/salt/metalk8s/addons/ui/deployed/ui.sls.in @@ -68,6 +68,15 @@ Create shell-ui ConfigMap: "clientId": "metalk8s-ui", "responseType": "id_token", "scopes": "openid profile email groups offline_access audience:server:client_id:oidc-auth-client" + }, + "options": { + "main": { + "https://{{ ingress_control_plane }}/":{ "en": "Platform", "fr": "Plateforme" }, + "https://{{ ingress_control_plane }}/alerts":{ "en": "Alerts", "fr": "Alertes" } + }, + "subLogin": { + "https://{{ ingress_control_plane }}/docs":{ "en": "Documentation", "fr": "Documentation" } + } } } diff --git a/ui/cypress/fixtures/shell-config.json b/ui/cypress/fixtures/shell-config.json index cabdcd3dcb..791da42d6e 100644 --- a/ui/cypress/fixtures/shell-config.json +++ b/ui/cypress/fixtures/shell-config.json @@ -6,6 +6,15 @@ "clientId": "metalk8s-ui", "responseType": "id_token", "scopes": "openid profile email groups offline_access audience:server:client_id:oidc-auth-client" + }, + "options": { + "main": { + "https://mocked.ingress/":{ "en": "Platform", "fr": "Plateforme" }, + "https://mocked.ingress/alerts":{ "en": "Alerts", "fr": "Alertes" } + }, + "subLogin": { + "https://mocked.ingress/docs":{ "en": "Documentation", "fr": "Documentation" } + } } } \ No newline at end of file