helm-patch

command module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

README

GoDoc Build Status Go Report Card GitHub Release

Helm Patch Plugin

Overview

This plugin helps fixing helm 3 charts in some szenarios, where default helm 3 might have difficulties.

Patch API changes

During upgrades of a k2s cluster the version of resources might change. Since the resources are stored in the chart version on the namespace. The versions might become invalid after such an upgrade, since the k2 API might not resolve the resoucde with the old version any more.

This option allows to migrat api version of a certain installend chart version to allow seamless upgrade to the new API.

helm patch api <chart-name> --from v1 --to v2 --kind ConfigMap --revision 1 --dry-run

Adopt existing resources into a new chart

This command allows to adopt / import existing resources into a new chart. One of the key benefits is, that existing deployments can be seamlessly re-used within a new chart.

helm patch adopt <release-name> <chart> --kind resource-kind --name resource-name

Remove a resources from a new chart

This command allows to remove a resource from a chart.

helm patch rm <chart> --kind resource-kind --name resource-name

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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