What this thread does
Use helm create for existing Kubernetes YAML, or convert Compose with Kompose first; preserve working resource semantics before extracting environment-specific values.
What changed
- Helm release, 2026-11-13 (checked 2026-11-24), is the current patch; 4.3.1 fixed CRD establishment waiting. The official overview says existing chart API v2 charts continue to work; experimental chart API v3 is unnecessary for this conversion.
- Helm support policy in its README, checked 2026-11-24, ends Helm 3 bug fixes on 2026-07-08 and security fixes on 2026-11-11 (both checked 2026-11-24). These are client support dates, not a cluster shutdown date.
- The same overview documents server-side apply for new releases and preserving the previous apply method on upgrades. Existing executable post-renderer paths must become plugin names. Do not apply old client assumptions to a fresh release.
How to migrate
1. Save source manifests and inventory namespaces, ports, selectors, storage, probes and images. Install with brew install helm on macOS or use the official binaries; check helm version. 2. For plain Kubernetes YAML, run the official scaffold command:
helm create myapp
Keep Chart.yaml, values.yaml and useful _helpers.tpl functions. Replace unused scaffold resources, tests and NOTES.txt references with your manifests in myapp/templates/; Two differently named Deployments deploy two workloads; duplicate names conflict. Plain YAML can be a template initially. Keep chart API v2, distinct from the client major.
3. For Compose, use Kompose's conversion guide and conversion matrix:
kompose --file docker-compose.yaml convert --out converted
Review the output, then follow step 2. Kompose's CLI source also defines kompose convert --chart (-c), but marks the flag hidden. Review direct chart output too. Its generator creates chart metadata and writes converted objects under templates; it does not decide your environment-specific values design.
4. Extract only environment differences. This adapts the official values guide; names and image tags below are placeholders. In values.yaml:
replicaCount: 1
image:
repository: example/myapp
tag: "replace-with-tested-tag"
service:
port: 8080
secretName: myapp-runtime
In the copied Deployment, substitute fields while preserving other semantics:
spec:
replicas: {{ .Values.replicaCount }}
template:
spec:
containers:
- name: app
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
envFrom:
- secretRef:
name: {{ .Values.secretName | quote }}
This Deployment fragment is incomplete. Keep numbers numeric, quote strings, use release-aware names, and keep selectors stable. Add development/production override files with non-secret configuration.
5. Run these checks for each override set, following template debugging and the current install flags:
helm lint ./myapp -f values-dev.yaml
helm template demo ./myapp -f values-dev.yaml --debug > rendered.yaml
helm install demo ./myapp -f values-dev.yaml --dry-run=client --debug --hide-secret
Compare rendered.yaml with the original working resources, including identity, selectors and persistent storage. Local rendering does not prove cluster admission or workload health. In a disposable target environment, an additional --dry-run=server contacts the API and exercises server lookups without persisting an install. A bare helm install is a real install; --dry-run=none also persists changes. Do not confuse these modes.
6. After review, plan existing-resource ownership and production cutover separately. Do not delete working resources to make installation pass.
Versions and licences — checked 2026-11-24
| Tool | Official status | Pick when | Not for |
|---|---|---|---|
| Helm 4.3.2 | Release; Apache-2.0 | Existing Kubernetes manifests or a maintained reusable chart | Translating Compose semantics automatically |
| Kompose 1.38.0 | Official release | You need a first Kubernetes translation of Compose | Guaranteeing application readiness, storage design or values templating |
Cluster/registry costs are outside scope. Kompose licensing was not checked.
What breaks
Diagnostic: invalid ownership metadata
The exact phrase appears in Helm's ownership validation source. A resource already present under another owner can block installation. Inspect its ownership and intended release; design deliberate adoption or replacement. Do not let the agent add --take-ownership as a routine fix.
Compose depends_on has no one-to-one conversion in the matrix. Applications still need retries; startup ordering is not equivalent to readiness. Review bind mounts, named volumes, networking, health checks and secrets individually. Avoid preserving local host paths as a production storage strategy.
What to test
Render multiple environments and two release names; detect name collisions and Services selecting the wrong Pods. Check port mappings, environment references, PVC retention, image pull credentials, readiness and rollback behavior in a test cluster. Verify API compatibility with your target Kubernetes version rather than assuming lint proves it.
Evidence and pitfalls
- raphaelLacerda's Kompose #1127 asks to “change the attribute version” of generated chart metadata. Historical demand for metadata review, not a current release test.
- s33kers reports literal double braces producing an unusable chart in Kompose #1751. Inspect embedded config templates before Helm treats their braces as expressions.
- damienwebdev reports two releases colliding in OpenSearch charts #669. This supports testing resource names across releases, not a claim that all charts collide.
- Never commit secrets to
values.yaml, package them in a chart, or put passwords in--setarguments. Refer to an existing Secret provisioned separately. The install docs warn that dry-run output includes Secrets unless--hide-secretis used;helm templateoutput must also be handled accordingly.
A prompt to give your agent
Your training data predates the current Helm release. Read the linked Helm overview, install flags and Kompose conversion matrix first; do not guess flags or invent values APIs. Convert our manifests or Compose file on a branch. Preserve runtime semantics, list every unsupported conversion, reference existing Secrets, and show lint plus rendered diffs for two environments and two release names. Do not install, delete or take ownership of live resources.
Limits
No CLI installs, chart rendering or cluster access. Community issues establish failure modes, not proof of this conversion working.
Started from a post by @s33kers, packaged by the editor. Original post