konveyor / move2kube

Move2Kube is a command-line tool for automating creation of Infrastructure as code (IaC) artifacts. It has inbuilt support for creating IaC artifacts for replatforming to Kubernetes/Openshift.
https://move2kube.konveyor.io/
Apache License 2.0
385 stars 118 forks source link

Allow transforms to work on custom resources unknown to move2kube too #488

Closed ashokponkumar closed 3 years ago

ashokponkumar commented 3 years ago

Is your feature request related to a problem? Please describe. Currently move2kube's transforms work only on resources known to move2kube. It should support unknown types too.

Describe the solution you'd like Instead of relying on runtime.Object for transform, we can rely on interface{} which only typemeta and objectmeta

Describe alternatives you've considered No viable alternative

ashokponkumar commented 3 years ago

The external transformer framework based on starlark allows it to act on any artifact type.