From fc0a566dd68e1e45531cb6cc8109b6b982e671e7 Mon Sep 17 00:00:00 2001 From: Zhiwei Yin Date: Thu, 7 Nov 2024 22:37:52 +0800 Subject: [PATCH] update readme (#20) Signed-off-by: Zhiwei Yin --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 4911ffa..f4bd294 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,22 @@ The MCE operator is required to be installed on the Hub cluster. kubectl apply -f ./configuration/klusterletconfig.yaml ``` +2. Apply a `AddOnDeploymentConfig` for add-ons working in hosted mode. +``` +kubectl apply -f ./configuration/addonhostedconfig.yaml +``` + +3. Patch work-manager add-on to support hosted mode. + +``` +kubectl patch clustermanagementaddon work-manager --type merge -p '{"spec":{"supportedConfigs":[{"defaultConfig":{"name":"addon-hosted-config","namespace":"multicluster-engine"},"group":"addon.open-cluster-management.io","resource":"addondeploymentconfigs"}]}}' +``` +or + +``` +kubectl apply -f ./configuration/workmanagercma.yaml +``` # Install Policy after MCE is installed ```