helmfile / chartify

Convert K8s manifests/Kustomization into Helm Chart
Apache License 2.0
77 stars 29 forks source link

Add support for `helm template --api-versions` #15

Closed mumoshu closed 2 years ago

mumoshu commented 2 years ago

chartify already accepts the Validate option to enable passing --validate to helm template which is required to populate .Capabilities.ApiVersions with data from a real cluster.

But for anyone who wants to avoid accessing the real cluster to render the chart templates, it should be still useful to support --api-versions, too.

See also: https://github.com/roboll/helmfile/issues/2031

Arabus commented 2 years ago

I am not fluent in go but this might suffice