From b09da73d807a0bba1104bf9a13c55c8b792df01a Mon Sep 17 00:00:00 2001 From: SheryarButt Date: Fri, 8 Dec 2023 11:46:01 +0500 Subject: [PATCH 1/2] adds provision --- content/integration-config.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/content/integration-config.md b/content/integration-config.md index 0aa9ddf86..bd7916d8f 100644 --- a/content/integration-config.md +++ b/content/integration-config.md @@ -95,6 +95,9 @@ spec: sso: clientName: vault accessorID: + provision: + console: true + showback: true ``` Following are the different components that can be used to configure multi-tenancy in a cluster via Multi Tenant Operator. @@ -371,3 +374,16 @@ If enabled, than admins have to provide secret, URL and SSO accessorID of Vault. - `sso.clientName:` Will contain the client name. For more details please refer [use-cases](./usecases/integrationconfig.md) + +## Provision + +```yaml +provision: + console: true + showback: true +``` + +`provision.console:` Can be used to enable/disable console GUI for MTO. +`provision.showback:` Can be used to enable/disable showback feature on the console. + +Details on console GUI and showback can be found [here](explanation/console.md) From 3c6ea745e0c9de37d549093ca31f72563b0ce9e2 Mon Sep 17 00:00:00 2001 From: SheryarButt Date: Fri, 8 Dec 2023 17:47:29 +0500 Subject: [PATCH 2/2] updates in IC doc and uninstallation --- content/how-to-guides/offboarding/uninstalling.md | 4 ++++ content/integration-config.md | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/content/how-to-guides/offboarding/uninstalling.md b/content/how-to-guides/offboarding/uninstalling.md index 2ba4da5ab..593667d71 100644 --- a/content/how-to-guides/offboarding/uninstalling.md +++ b/content/how-to-guides/offboarding/uninstalling.md @@ -4,6 +4,10 @@ You can uninstall MTO by following these steps: * Decide on whether you want to retain tenant namespaces and ArgoCD AppProjects or not. If yes, please set `spec.onDelete.cleanNamespaces` to `false` for all those tenants whose namespaces you want to retain, and `spec.onDelete.cleanAppProject` to `false` for all those tenants whose AppProject you want to retain. For more details check out [onDelete](../../tutorials/tenant/deleting-tenant.md#retaining-tenant-namespaces-and-appproject-when-a-tenant-is-being-deleted) +* In case you have enabled console, you will have to disable it first by navigating to `Search` -> `IntegrationConfig` -> `tenant-operator-config` and set `spec.provision.console` and `spec.provision.showback` to `false`. + +* Remove IntegrationConfig CR from the cluster by navigating to `Search` -> `IntegrationConfig` -> `tenant-operator-config` and select `Delete` from actions dropdown. + * After making the required changes open OpenShift console and click on `Operators`, followed by `Installed Operators` from the side menu ![image](../../images/installed-operators.png) diff --git a/content/integration-config.md b/content/integration-config.md index bd7916d8f..1cc42b036 100644 --- a/content/integration-config.md +++ b/content/integration-config.md @@ -386,4 +386,12 @@ provision: `provision.console:` Can be used to enable/disable console GUI for MTO. `provision.showback:` Can be used to enable/disable showback feature on the console. +Integration config will be managing the following resources required for console GUI: + +- `Showback` cronjob. +- `Keycloak` deployment. +- `MTO-OpenCost` operator. +- `MTO-Prometheus` operator. +- `MTO-Postgresql` stateful set. + Details on console GUI and showback can be found [here](explanation/console.md)