https://github.com/bakito/helm-patch
This plugin helps fixing helm 3 charts
https://github.com/bakito/helm-patch
helm-plugin helm-plugins
Last synced: 11 months ago
JSON representation
This plugin helps fixing helm 3 charts
- Host: GitHub
- URL: https://github.com/bakito/helm-patch
- Owner: bakito
- License: apache-2.0
- Created: 2019-11-08T11:17:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-22T15:29:21.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T12:37:22.590Z (almost 2 years ago)
- Topics: helm-plugin, helm-plugins
- Language: Go
- Homepage:
- Size: 642 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](http://godoc.org/github.com/bakito/helm-patch)
[](https://goreportcard.com/report/github.com/bakito/helm-patch)
[](https://github.com/bakito/helm-patch/releases)
# 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.
```console
helm patch api --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.
```console
helm patch adopt --kind resource-kind --name resource-name
```
## Remove a resources from a new chart
This command allows to remove a resource from a chart.
```console
helm patch rm --kind resource-kind --name resource-name
```
## License
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fbakito%2Fhelm-patch?ref=badge_large)