Closed shawn-hurley closed 5 years ago
@jmrodri alpine is just used as a builder, the image that it ends up is the second from: quay.io/openshift/origin-operator-registry:latest
which is acceptable, hope that helps explain things.
/lgtm
@shawn-hurley: you cannot LGTM your own PR.
/lgtm this should appease the bots
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jmrodri, shawn-hurley
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Describe what this PR does and why we need it:
This adds a docker file, that will allow you to use the downstream CSV for an OLM install while changing the images that it creates. You will need to create a new container image and deploy this into the cluster.
To use this Dockerfile:
create a new image from the
operator
directory. Exmaple:$ docker build -t quay.io/shawn_hurley/testing-downstream-catalog-source -f build/olm-testing.Dockerfile --build-arg operator_name=quay.io/shawn_hurley/abo:v4.0 --build-arg broker_name=quay.io/shawn_hurley/ab:v4.0 .
Run this image as a catalog source by creating this resource:
Then follow the same UI steps to install the automation-broker-operator and automation-broker which should use the images that you changed.
NOTE: This is only for testing.