Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/replicatedhq/unfork
- Owner: replicatedhq
- License: apache-2.0
- Created: 2019-07-15T15:25:16.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-12-09T02:52:29.000Z (about 3 years ago)
- Last Synced: 2024-04-13T22:20:33.101Z (10 months ago)
- Topics: go, golang, helm, helm-charts, kubectl-plugins, kubernetes, kustomize
- Language: Go
- Homepage: https://www.unfork.io
- Size: 144 KB
- Stars: 144
- Watchers: 20
- Forks: 8
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-kubectl-plugins - unfork
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.