Loading Kustomize to Helm Converter...

How to Convert a Kustomization to a Helm Chart

Step 1

Paste the Kustomization and Its Resources

Moving from Kustomize to Helm starts with the folder you already run kustomize build on. Put it all in the editor:

•
kustomization.yaml first: namespace, prefixes, labels, images, replicas and generators are read from it
•
Then the resources: the contents of deployment.yaml, service.yaml and the rest, each after a --- line (a kind: List works too)
•
Or click Sample: a kustomization with a prefix, labels, an image tag, a replica count and a ConfigMap generator, followed by a Deployment and a Service
Step 2

What Gets Applied

The kustomization is applied the way kustomize v5 does it, and anything left out is named in a note:

•
Names: namespace, namePrefix and nameSuffix, with references in pods, RBAC bindings, Ingresses, HPAs and StatefulSets renamed to match
•
Labels and annotations: commonLabels and labels go into metadata, pod templates and selectors where kustomize puts them; commonAnnotations into metadata and pod templates
•
images and replicas: new image names, tags and digests, and replica counts by resource name
•
Generators: ConfigMaps and Secrets from literals, with the same hash suffix kustomize adds
•
Not applied: patches, components, helmCharts, replacements and generators that read files
Step 3

Look Through the Chart

Every file of the Helm chart is in the output, marked with its path:

•
values.yaml: replica counts, images, resources, env values, Service types and ConfigMap data, grouped by resource
•
templates/: one file per resource, already with the kustomized names, labels and images
•
Copy: copies every file as one text, exactly as shown
Step 4

Download and Install

The ZIP holds the chart in a myapp folder:

•
Install: unzip and run helm install my-release ./myapp
•
Compare first: helm template my-release ./myapp next to kustomize build shows the same resources
•
Related: plain manifests with no kustomization go through the Kubernetes to Helm Chart converter, and the Helm Chart Validator checks a Chart.yaml

Frequently Asked Questions

Why do I have to paste my resources as well?

A kustomization.yaml only lists file names under resources, and a web page can't open files or folders on your disk. Paste the kustomization first and then the contents of each file it lists, separated by ---. Those pasted documents are used in place of the list. If you paste the kustomization alone, you still get the ConfigMaps and Secrets its generators create, plus a note naming the files that are missing.

Which Kustomize fields are applied?

namespace, namePrefix, nameSuffix, commonLabels, labels (with includeSelectors and includeTemplates), commonAnnotations, images (newName, newTag, digest), replicas, generatorOptions, and configMapGenerator / secretGenerator with literals. References are renamed the way kustomize does it, so a Deployment that mounts app-config, reads a Secret or uses a ServiceAccount points at the new names, and a RoleBinding, Ingress, HPA or StatefulSet follows the renamed resources too.

What is not supported?

Patches of every kind, components, remote or folder bases, helmCharts, replacements, vars, and generator entries that read files or env files. When the kustomization uses any of these, a note under the output says so, because the chart will then differ from what kustomize build gives you. Overlays work if you paste the overlay's kustomization together with the base resources and the overlay doesn't rely on patches.

Does the chart produce the same YAML as kustomize build?

For the fields above, yes. We compare helm template of the chart with kustomize build of the same folder, document by document. Generated ConfigMaps and Secrets get the same hash suffix, such as prod-app-config-v1-6b7ff2mg98. The only difference is that Helm adds its own helm.sh/chart, app.kubernetes.io/managed-by and app.kubernetes.io/instance labels where you haven't set them.

What goes into values.yaml, and are my numbers kept exactly?

Replica counts, container images, container resources, plain env values, Service types and the data of ConfigMaps you pasted yourself. Every string is written in quotes, because Helm reads values.yaml the YAML 1.1 way and would otherwise turn 00501 into 321, 14.50 into 14.5 and yes into true, or round an ID like 8901240544102066246. Data of generated ConfigMaps stays in the template so it can never drift away from the hash in the name.

How do I install the chart?

Click Download, unzip the file and run helm install my-release ./myapp. The names are the ones kustomize would give, written as fixed text, so installing the chart twice into one namespace would clash; switch metadata.name to the fullname helper in _helpers.tpl if you need that.

Is my configuration uploaded?

No. The chart is built in your browser, nothing is sent to a server and nothing is kept, so a reload starts with an empty editor. Secret values from secretGenerator end up base64-encoded in a template, so take them out before you share or commit the chart.