Skip to content
This repository was archived by the owner on Sep 21, 2020. It is now read-only.

Commit fd6686a

Browse files
authored
specify 'default' namespace when fetching ClusterServiceVersion status
specify 'default' namespace when fetching ClusterServiceVersion status as some environments (i.e. Minishift) may not scope to 'default' project/namespace by default.
1 parent 7740c3f commit fd6686a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Deploying an Operator is as simple as applying the Operator’s manifest to the
128128
```sh
129129
$ curl -Lo memcachedoperator.0.0.1.csv.yaml https://raw.githubusercontent.com/operator-framework/getting-started/master/memcachedoperator.0.0.1.csv.yaml
130130
$ kubectl apply -f memcachedoperator.0.0.1.csv.yaml
131-
$ kubectl get ClusterServiceVersion-v1s memcachedoperator.v0.0.1 -o json | jq '.status'
131+
$ kubectl -n default get ClusterServiceVersion-v1s memcachedoperator.v0.0.1 -o json | jq '.status'
132132
```
133133

134134
After applying this manifest, nothing has happened yet, because the cluster does not met the requirements specified in our manifest. Create the CustomResourceDefinition and RBAC rules for the Memcached type managed by the Operator:

0 commit comments

Comments
 (0)