helm / helm/community

Feature: Export and Import of existing releases

Open
#417 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
495
Forks
210
PR merge metrics
No merged PRs in 30d

Description

To be able to help migrating legacy releases from one k8s to a different k8s I would like to be able to export a running release directly and import the result to a differen k8s.

I already managed to do that using

~~~
helm get manifest $ReleaseName -n $Namespace
~~~
and
~~~
kubectl get secret -n $Namespace -l "owner=helm,name=$ReleaseName" -o yaml
~~~

and then using
~~~
kubectl apply -f $secretsFile -n $Namespace
~~~
and
~~~
kubectl apply -f $manifestFile -n $Namespace
~~~
to apply it.

However this is missing the whole hook system. So if a dependency had a hook which creates more k8s resources these would not be included.

I would think it would be valuable addition to the helm toolkit to be able to export and import releases as they are.

Any thoughts on that?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.