helm/helm-2to3

Convert configmaps to original helm value yaml?

cveld opened this issue · 3 comments

cveld commented

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

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

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

Closing as resolved.