You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is sometimes desirable to convert a Helm chart version specification, such as ^1.0.0 to an exact version. Currently helm_template just returns the original version value. My exact use case is installing cert-manager and needing to get the corresponding version for the CRDs URL. Alternatively, it would be nice to have a separate data resource for this that didn't have the overhead of rendering all the templates.
Alternatively, it would be nice to have a separate data resource for this that didn't have the overhead of rendering all the templates.
This is something that has come up before, where we could add a helm_release_metadata data source that would be equivalent to the helm get metadata command which returns the chart, version, appVersion, etc. I think this might be preferable to adding some kind of separate computed_version field for this use case.
I agree. The other downside of helm_template is that it stores the rendered templates in the state, which can be a lot of data. You can limit that with show_only, but it's kind of a hack.
Description
It is sometimes desirable to convert a Helm chart version specification, such as
^1.0.0
to an exact version. Currentlyhelm_template
just returns the originalversion
value. My exact use case is installingcert-manager
and needing to get the corresponding version for the CRDs URL. Alternatively, it would be nice to have a separate data resource for this that didn't have the overhead of rendering all the templates.Potential Terraform Configuration
Community Note
The text was updated successfully, but these errors were encountered: