-
Story
-
Resolution: Unresolved
-
Critical
-
None
Asset generation in CLI in MTA 7.3 is a Dev Preview
(Full feature (Integration in the Hub and everything) in planned for MTA 8.0)
This effort will cover the development of a golang CLI tool capable of performing discovery and transformation of a PCF application. This task does not expect a tool compatible with the Konveyor addon process.
We want a `discover` and `generate` command. The `discover` command should output a yaml/json file similar to the output of M2K's `collect` and `plan` commands. The format of this file can be a bare minimum for an MVP; though we should consider that we want this to eventually be a canonical configuration structure capable of handling other platforms. This `discover` command can take in one supported `โplatform` flag: `pcf`.
The `generate` command should template out assets for the application to be deployed to OCP. This `generate` command should take in a helm template and spit out a helm chart for a user to use for the asset deployment.
Implement at least the generate command from the Create Asset Generation CLI Enhancement from Konveyor. The discover command for Cloud Foundry would be desirable as well, but is not critical.
The CLI commands: https://github.com/gciavarrini/kantra/blob/asset_generation/cloud_foundry/README.md
CLI examples: https://github.com/gciavarrini/kantra/blob/asset_generation/cloud_foundry/docs/examples.md
Asset generation CLI Gloriaโs demo March 10, 2025: Konveyor Community Meeting - 2025/03/06 11:43 EST - Recording
https://drive.google.com/file/d/14sF2tKc8uUL4p7HBcg42NrMbECx5RWLv/view
Related github Enhancements:
- User experience [Ramon]
Assets generation and Platform Awareness enhancement #210
https://github.com/konveyor/enhancements/pull/210
- CLI Enhancement to kantra [Jonah/Savitha]
Create Asset Generation CLI Enhancement #214
https://github.com/konveyor/enhancements/pull/214
- Asset generation for Cloud Foundry Applications#215 [Gloria/Jordi]
https://github.com/konveyor/enhancements/pull/215#top