Skip to content

Commit a78b3a5

Browse files
author
Per Goncalves da Silva
committed
Update docs
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent 6a39209 commit a78b3a5

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

docs/draft/howto/single-ownnamespace-install.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ kubectl rollout status -n olmv1-system deployment/operator-controller-controller
5656
## Configuring the `ClusterExtension`
5757

5858
A `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
7070
kind: ClusterExtension
7171
metadata:
7272
name: argocd
73-
annotations:
74-
olm.operatorframework.io/watch-namespace: argocd-watch
7573
spec:
7674
namespace: argocd
7775
serviceAccount:
7876
name: argocd-installer
77+
config:
78+
inline:
79+
watchNamespace: argocd-watch
7980
source:
8081
sourceType: Catalog
8182
catalog:
@@ -96,6 +97,9 @@ spec:
9697
namespace: argocd
9798
serviceAccount:
9899
name: argocd-installer
100+
config:
101+
inline:
102+
watchNamespace: argocd
99103
source:
100104
sourceType: Catalog
101105
catalog:

0 commit comments

Comments
 (0)