Skip to content

Feature: Export and Import of existing releases #417

Open

Description

@Timo-Weike

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions