File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -56,11 +56,11 @@ kubectl rollout status -n olmv1-system deployment/operator-controller-controller
5656## Configuring the ` ClusterExtension `
5757
5858A ` ClusterExtension ` can be configured to install bundle in ` Single- ` or ` OwnNamespace ` mode through the
59- ` olm.operatorframework.io/watch-namespace: <namespace> ` annotation . The * installMode* is inferred in the following way:
59+ ` .spec.config.inline.watchNamespace ` property . The * installMode* is inferred in the following way:
6060
61- - * AllNamespaces* : ` <namespace> ` is empty, or the annotation is not present
62- - * OwnNamespace* : ` <namespace> ` is the install namespace (i.e. ` .spec.namespace ` )
63- - * SingleNamespace* : ` <namespace> ` not the install namespace
61+ - * AllNamespaces* : ` watchNamespace ` is empty, or not set
62+ - * OwnNamespace* : ` watchNamespace ` is the install namespace (i.e. ` .spec.namespace ` )
63+ - * SingleNamespace* : ` watchNamespace ` * not* the install namespace
6464
6565### Examples
6666
@@ -70,12 +70,13 @@ apiVersion: olm.operatorframework.io/v1
7070kind: ClusterExtension
7171metadata:
7272 name: argocd
73- annotations:
74- olm.operatorframework.io/watch-namespace: argocd-watch
7573spec:
7674 namespace: argocd
7775 serviceAccount:
7876 name: argocd-installer
77+ config:
78+ inline:
79+ watchNamespace: argocd-watch
7980 source:
8081 sourceType: Catalog
8182 catalog:
9697 namespace: argocd
9798 serviceAccount:
9899 name: argocd-installer
100+ config:
101+ inline:
102+ watchNamespace: argocd
99103 source:
100104 sourceType: Catalog
101105 catalog:
You can’t perform that action at this time.
0 commit comments