-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
There are several places where we rely on bundle being an image. With the plan to support more types (such as git repos) we need to refactor operator controller to not assume image type.
Here are a few places where this is happening at the moment:
operator-controller/internal/controllers/operator_controller.go
Lines 287 to 291 in e001a0f
// TODO: Don't assume image type | |
"type": string(rukpakv1alpha1.SourceTypeImage), | |
"image": map[string]interface{}{ | |
"ref": bundlePath, | |
}, |
sourceImage := bundleDeployment.Spec.Template.Spec.Source.Image |
Metadata
Metadata
Assignees
Labels
No labels