helm2to3

package
v0.0.0-...-0a5baa5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Copyright The Helm Authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright The Helm Authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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.

func RunCleanup

func RunCleanup(releaseName string) error

func RunConvert

func RunConvert(releaseName string) error

Types

type CleanupOptions

type CleanupOptions struct {
	ConfigCleanup    bool
	DryRun           bool
	ReleaseName      string
	ReleaseCleanup   bool
	StorageType      string
	TillerCleanup    bool
	TillerLabel      string
	TillerNamespace  string
	TillerOutCluster bool
}

type ConvertOptions

type ConvertOptions struct {
	DeleteRelease      bool
	DryRun             bool
	MaxReleaseVersions int
	ReleaseName        string
	StorageType        string
	TillerLabel        string
	TillerNamespace    string
	TillerOutCluster   bool
}

type EnvSettings

type EnvSettings struct {
	DryRun           bool
	KubeConfigFile   string
	KubeContext      string
	Label            string
	ReleaseStorage   string
	TillerNamespace  string
	TillerOutCluster bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL