This plugin helps fixing helm 3 charts in some szenarios, where default helm 3 might have difficulties.
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
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
This command allows to remove a resource from a chart.
helm patch rm <chart> --kind resource-kind --name resource-name