-
Notifications
You must be signed in to change notification settings - Fork 204
Open
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?
Metadata
Metadata
Assignees
Labels
No labels