Skip to content

Commit

Permalink
Add additional docs for OLM based operators
Browse files Browse the repository at this point in the history
  • Loading branch information
gnufied committed Jul 2, 2024
1 parent 75ef547 commit 9660e8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion enhancements/storage/csi-driver-operator-merge.md
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ git subtree push --prefix legacy/azure-disk-csi-driver-operator https://github.c

### Add Dockerfiles for building images from new location

Place a `Dockerfile.<operator>` and `Dockerfile.<operator>.test` at top of csi-operator tree and make sure that you are able to build an image of the operator from csi-operator repository.
Place a `Dockerfile.<operator>` at top of csi-operator tree and make sure that you are able to build an image of the operator from csi-operator repository.

### Update openshift/release to build image from new location
Make a PR to openshift/release repository to build the operator from csi-operator. For example - https://github.com/openshift/release/pull/46233.
Expand All @@ -514,6 +514,8 @@ azure-disk-csi-driver-operator=<the scratch build> \
oc adm release extract --command openshift-install quay.io/jsafrane/scratch:release1
```

This step is only applicable for CVO based operators and not OLM based operators. For OLM based operator - either an image can be built locally and deployed using your personal index image or you can ask ART team for a scratch image when you open `ocp-build-data` PR and proceed to include that image in your personal index image.

### Co-ordinating merges in ocp-build-data and release repository

Both PRs in openshift/release and ocp-build-data must be merged +/- at the same time. There is a robot that syncs some data from ocp-build-data to openshift/release and actually breaks things when these two repos use different source repository to build images.
Expand Down

0 comments on commit 9660e8c

Please sign in to comment.