Skip to content

[Helm integration] Remove handler implementation from Operator controller and reuse from Rukpak #867

Closed
@varshaprasad96

Description

@varshaprasad96

Reuse the handler in Rukpak to covert registryV1 to chart: https://github.com/operator-framework/rukpak/blob/19e1839a4d6bb44a15bfcd8f876b5780ecdbc445/internal/provisioner/registry/registry.go#L22

The only value from BD that it needs is spec.InstallName, which we can set from CE while creating a mock for BD in the controller:

bd := r.generateBundleDeploymentForUnpack(bundle.Image, ext)
.

This requires us to make handler code external.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions