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

The transformation scripts are not applied to the helm and kustomize artifacts that we generate #477

Closed HarikrishnanBalagopal closed 3 years ago

HarikrishnanBalagopal commented 3 years ago

Describe the bug The transformations should be applied to all the resources we generate. Currently only the unparameterized objects are transformed: https://github.com/konveyor/move2kube/blob/main/internal/transformer/k8stransformer.go#L82

To Reproduce Do a translate on move2kube-demos/samples/language-platforms while providing some starlark transforms using -t

Expected behavior All the artifacts should be transformed, including helm and kustomize artifacts.

Desktop (please complete the following information): All

Additional context Need to move the parameterizers to the end. They should operate after version conversion similar to the fixers.

ashokponkumar commented 3 years ago

Will be fixed by #489