helm / helm-2to3

⚠️(OBSOLETE) This is a Helm v3 plugin which migrates and cleans up Helm v2 configuration and releases in-place to Helm v3
Apache License 2.0
493 stars 80 forks source link

Convert configmaps to original helm value yaml? #223

Closed cveld closed 4 months ago

cveld commented 1 year ago

I am migrating an existing kubernetes cluster but the original helm2 invocations are lost. I only have the configmaps lying around in the cluster. Are the original input parameters stored in such a configmap? If so, is it possible to extract this with this tool?

When I run:

helm 2to3 convert redis.v2 --dry-run -t redis --tiller-out-cluster --release-storage configmaps

I get the error:

Error: redis.v2 has no deployed releases

cveld commented 1 year ago

Alright, I had to remove the version suffix. Running the command with release name redis did yield results.

gogowaiting commented 1 year ago

I had the same problem,my iam app config in default namespace kube-system, helm2 list had iam relsease info but excute: 2to3 convert --dry-run -s configmaps iam

Error: iam has no deployed releases

hickeyma commented 4 months ago

Closing as resolved.