-
Story
-
Resolution: Unresolved
-
Major
-
None
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
-
-
None
Description
The user initially reported that the Dockerfile was not being generated in the output directory after running the mta-cli generate helm command.
Resolution/Workaround
The issue was determined to be a problem with the user's Helm chart structure/contents (--chart-dir). After the engineer provided a working example, the user updated their chart, and the generation worked, confirming that the Helm chart template is responsible for generating files like the Dockerfile.
Action Items (Documentation)
- Document the Required Helm Chart Structure: Add specific documentation detailing the expected structure and necessary content files (e.g., Kube templates, use of Knoveyer, etc.) within the --chart-dir for the generate helm command to successfully create artifacts like a Dockerfile.
- Document Input Value Format: Document the format of the discovery manifest (the values file) that is passed to the Helm chart templates so developers can properly design their chart templates to consume this data.
Action Items (Documentation)
- Document Buildpack Behavior: Clearly document the current behavior of the discover cloud-foundry command: it only includes buildpacks that are explicitly defined in the CF manifest (buildpacks attribute).
- Add Best Practice Note: Recommend that users explicitly specify buildpacks in their CF manifests for the most accurate discovery results and subsequent asset generation.