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
383 stars 118 forks source link

Any good example for external executale transformer #852

Closed vivekskrishna closed 5 months ago

vivekskrishna commented 2 years ago

Describe the bug The documentation does not have clear example on how to use external executable transformer type.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior improved documentation with an example which shows how to create yaml config to use the external executable transformer will make it easy to use this feature.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

ashokponkumar commented 2 years ago

Thanks @vivekskrishna for the query. We are in the process of enhancing the interface of the external executable transformer and writing a tutorial. Will share it once it is ready.

In the meanwhile, just wondering whether a starlark based transformer will suffice the need. (https://move2kube.konveyor.io/tutorials/customizing-the-output/add-custom-files-directories-in-custom-locations). It can do most transformations. If you have a specific requirement in mind, let us know, and we can see if the built-in transformers or starlark based transformer can achieve the job, or if we need an external executable transformer for it.

vivekskrishna commented 2 years ago

Will check it out and revert. Thank you

HarikrishnanBalagopal commented 5 months ago

Closing this as completed https://move2kube.konveyor.io/transformers/external