migrate

package
v0.0.0-...-3f65257 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertSecretToConfigMap

func ConvertSecretToConfigMap(
	ctx context.Context, clientset kubernetes.Interface, namespace, secretName string,
) error

ConvertSecretToConfigMap retrieves a secret and creates a ConfigMap with the same data.

func GenerateCertsForOperator

func GenerateCertsForOperator(cl client.Client, namespace string, rc *generator.GenerateCert) error

Types

type Manifest

type Manifest struct {
	// contains filtered or unexported fields
}

func NewManifest

func NewManifest(
	cloudProvider, cloudRegion, kubeconfig, objectName, namespace, outputDir string,
) (*Manifest, error)

NewManifest constructs a Manifest with required fields and functional options

func NewValuesExporter

func NewValuesExporter(kubeconfig, objectName, namespace, outputDir string) (*Manifest, error)

func (*Manifest) ExportValuesFromV1beta1

func (m *Manifest) ExportValuesFromV1beta1() error

ExportValuesFromV1beta1 writes a values.yaml from the live migrated v1beta1 resources so Helm adoption can start from the current cluster state.

func (*Manifest) FromHelmChart

func (m *Manifest) FromHelmChart() error

func (*Manifest) FromPublicOperator

func (m *Manifest) FromPublicOperator() error

Jump to

Keyboard shortcuts

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