Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/replicatedhq/unfork

Kubectl plugin to find forked Helm Charts and other K8s resources and unfork them with Kustomize
https://github.com/replicatedhq/unfork

go golang helm helm-charts kubectl-plugins kubernetes kustomize

Last synced: about 1 month ago
JSON representation

Kubectl plugin to find forked Helm Charts and other K8s resources and unfork them with Kustomize

Awesome Lists containing this project

README

        

# `kubectl unfork`

A kubectl plugin to find forked helm charts running in a cluster, extract [Kustomize](https://kustomize.io) compatible patches, and allow you to delete the fork and return to the upstream Chart, while preserving your patches.

Usage:

```
curl https://unfork.io/install | bash
kubectl unfork
```

This plugin will:
- Connect to your Kubernetes cluster and search for a Helm Tiller pod.
- Connect to your Tiller using the Helm GRPC API and query to receive a list of all installed Helm Charts.
- Meanwhile, Unfork will download a list of all known Helm Charts from [Monocular](https://hub.helm.sh/).
- Comparing your Helm charts with the Monocular index, Unfork will attempt to determine which upstream your fork is from.
- Once you've confirmed the best upstream, Unfork will convert your custom changes into [Kustomize](https://kustomize.io) patches and resources.
- You can now update the Helm chart to the latest version, and re-apply your patches.

Note: Unfork does **not** make any changes to the applications running in your cluster. Unfork only needs access to your cluster in order to port-forward and gain access to Tiller.