(feat) Load operator registry bundle from ConfigMap#92
Conversation
|
(Putting a hold on it since it could change as we integrate the pieces) |
d12ab1d to
0dbdab2
Compare
|
/hold cancel |
|
this will need to change slightly when this merges: openshift/enhancements#70 |
|
/test unit |
|
I forgot this depends on constants in #94. |
- Iterate through the Data section of a ConfigMap, process each resource and construct a registry.Bundle object for use. - The ConfigMap may have a resource that contains a `PackageManifest` resource. Process this resource if present and deserialize.
This verifies that the configmap is being properly read from the extracted data of a bundle image (from operator-framework#94).
Previously, the package manifest data was going to be included as a file within the bundle. The planning changed and this updates the implementation to match. The configmap annotations for manifest data has been made as a requirement.
1b1ae6c to
914eee2
Compare
|
Removed the dependency on #94. Also, decided to keep the latest commit separate since these commits evolved over time with different authors instead of squashing it all together. |
ecordell
left a comment
There was a problem hiding this comment.
/lgtm
As discussed offline, the PackageManifest component is unneeded. But since that shouldn't affect the use of this elsewhere and it blocks, lgtm and we can remove the packagemanifest parsing later.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ecordell, tkashem The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
resource and construct a registry.Bundle object for use.
PackageManifestresource. Process this resource if present and deserialize.