The operator controller code as it is now assumes several things about the bundlePath being used, including the source type (image) and the provisioner class used (plain). We need to provide some method by which we can easily figure out the type of bundle source being installed. This could be done by:
- adding additional property(s) to help us determine the type, e.g.
olm.bundle.type
- changing the
olm.bundle.path property to instead be a set of different properties for each specific type, e.g. olm.bundle.imageReference.
- etc.