Update doc how to test operator via OLM. (#329)

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
pull/355/head
Oleksandr Andriienko 2020-07-21 08:59:02 +03:00 committed by GitHub
parent 8d2852979f
commit c4a3ff2480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -57,7 +57,7 @@ Open deploy/operator.yaml, replace default operator image `quay.io/eclipse/che-o
Go to `olm/eclipse-che-preview-openshift` folder and build the image: `docker build -t user/custom-catalog-source:latest .`
Push it into your docker registry.
5. Create custom catalog source yaml:
5. Create custom catalog source yaml(update strategy is workaround for https://github.com/operator-framework/operator-lifecycle-manager/issues/903):
```yaml
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
@ -67,6 +67,9 @@ metadata:
spec:
image: docker.io/user/custom-catalog-source:latest
sourceType: grpc
updateStrategy:
registryPoll:
interval: 5m
```
Replace value of `image` field with your catalog source image.