Documentation ¶
Index ¶
- func Cleanup(cleanupOptions CleanupOptions, kubeConfig common.KubeConfig) error
- func Convert(convertOptions ConvertOptions, kubeConfig common.KubeConfig) error
- func Move(dryRun bool) error
- func NewRootCmd(out io.Writer, args []string) *cobra.Command
- type CleanupOptions
- type ConvertOptions
- type EnvSettings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cleanup ¶
func Cleanup(cleanupOptions CleanupOptions, kubeConfig common.KubeConfig) error
Cleanup will delete all release data for in specified namespace and owner label. It will remove the Tiller server deployed as per namespace and owner label. It is also delete the Helm gv2 home directory which contains the Helm configuration. Helm v2 will be unusable after this operation.
func Convert ¶
func Convert(convertOptions ConvertOptions, kubeConfig common.KubeConfig) error
Convert converts Helm 2 release into Helm 3 release. It maps the Helm v2 release versions of the release into Helm v3 equivalent and stores the release versions. The underlying Kubernetes resources are untouched. Note: The namespaces of each release version need to exist in the Kubernetes cluster. The Helm 2 release is retained by default, unless the '--delete-v2-releases' flag is set.
Types ¶
type CleanupOptions ¶
type ConvertOptions ¶
type EnvSettings ¶
type EnvSettings struct { DryRun bool KubeConfigFile string KubeContext string Label string ReleaseStorage string TillerNamespace string TillerOutCluster bool }
func New ¶
func New() *EnvSettings
func (*EnvSettings) AddBaseFlags ¶
func (s *EnvSettings) AddBaseFlags(fs *pflag.FlagSet)
AddBaseFlags binds base flags to the given flagset.
func (*EnvSettings) AddFlags ¶
func (s *EnvSettings) AddFlags(fs *pflag.FlagSet)
AddFlags binds flags to the given flagset.