3 ms·
Ask HN: Any tool to convert a Kubernetes manifest to an Helm chart?
Hello HN!
I've seen many softwares providing a static YAML file to use with `kubectl apply -f` for deployments.
This is, IMHO, an anti-pattern, because it simply does not handle upgrades (if a resource is deleted in the new YAML, `kubectl apply` won't remove it).
Sometimes, there is an unmaintained Helm Chart provided by a third party. Some other times I have to make the Helm Chart myself, and redo it for each upgrades.
This is a pain.
After some googling (up to the 5th page ^^), I've found chartify[1], but it seems unmaintained for over a year (and I've not been able to build it).
Do you know of any tool, or have any advice to automate this process?
Thank you :)
[1] - https://github.com/kubepack/chartify
- verdverm 6y agoHelm charts are a bit of an antipattern themselves, with the whole text interpolation of a file that uses whitespace for scoping. There is a new project coming out soon https://twitter.com/solomonstre/status/1376725608747593731 https://twitter.com/solomonstre/status/1376725608747593731
- linkdd 6y ago> Helm charts are a bit of an antipattern themselves True, but in the meantime, it's still better than a static YAML file, because what we want is the versioning of the resources that are deployed.