Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Commit d86c273

Browse files
Merge pull request #724 from Kuadrant/gh-269-channel-override
add example to override channel
2 parents 953366c + 071fefe commit d86c273

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/installation/service-protection-installation.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This walkthrough will show you how to install and setup the Kuadrant Operator in
2525
To install the Kuadrant Service Protection components into a spoke `ManagedCluster`, target your OCM Hub cluster with `kubectl` and run:
2626
2727
```
28-
kubectl apply -k "github.com/kuadrant/multicluster-gateway-controller.git/config/service-protection-install-guide?ref=release-0.2" -n namespace-of-your-managed-spoke-cluster-on-the-hub
28+
kubectl apply -k "github.com/kuadrant/multicluster-gateway-controller.git/config/service-protection-install-guide?ref=release-0.3" -n namespace-of-your-managed-spoke-cluster-on-the-hub
2929
```
3030
3131
The above command will install the `ManagedClusterAddOn` resource needed to install the Kuadrant addon into the namespace representing a spoke cluster, and install the Kuadrant data-plane components into the `open-cluster-management-agent-addon` namespace.
@@ -59,7 +59,15 @@ To let the Kuadrant operator use this existing installation, set the following:
5959

6060
`kubectl annotate managedclusteraddon kuadrant-addon "addon.open-cluster-management.io/values"='{"IstioOperator":"installed-state"}' -n <managed spoke cluster>`
6161

62-
This will propogate down and update the Kuadrant Operator, used by the Kuadrant OCM Addon.
62+
This will propagate down and update the Kuadrant Operator, used by the Kuadrant OCM Addon.
63+
64+
### Changing the name of the channel to use
65+
66+
If you want to use a different channel with the `ManagedClusterAddon` to install the kuadrant operator. You can do so by overriding the channel with the follow annotation:
67+
68+
`kubectl annotate managedclusteraddon kuadrant-addon "addon.open-cluster-management.io/values"='{"CatalogSourceNS":"openshift-marketplace", "CatalogSource":"community-operators", "Channel":"preview"}' -n managed-cluster-ns`
69+
70+
This will propagate down and update the Kuadrant Subscription, used by OLM in the spoke.
6371

6472
## Verify the Kuadrant addon installation
6573

0 commit comments

Comments
 (0)