-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add `upgrade` command to upgrade a release to a new version of the chart from GitHub
- Loading branch information
Showing
5 changed files
with
71 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
repos | ||
.idea | ||
helm-github.iml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,38 @@ | ||
# helm-github | ||
|
||
This is a helm plugin that installs raw helm charts from github. | ||
A Helm plugin that installs or upgrades raw Helm charts from GitHub | ||
|
||
* https://docs.helm.sh/helm/#helm-install | ||
* https://docs.helm.sh/helm/#helm-upgrade | ||
|
||
|
||
# Installation | ||
* `helm plugin install --version master https://github.com/sagansystems/helm-github.git` | ||
* `helm github --help` | ||
|
||
![image](https://user-images.githubusercontent.com/52489/33590100-fa79e052-d931-11e7-9879-b0fd7db7d09a.png) | ||
|
||
# Updates | ||
|
||
# `helm-github` plugin updates | ||
|
||
### Automatically | ||
* `helm github --update` | ||
|
||
### Manually | ||
* `cd $HELM_HOME/plugins/` | ||
* `git pull` | ||
|
||
|
||
|
||
# Usage | ||
* `helm github install --repo git@github.com:kubernetes/charts.git --path stable/external-dns/` | ||
|
||
### Install a chart from a GitHub repo | ||
|
||
* `helm github install --repo git@github.com:kubernetes/charts.git --path stable/external-dns` | ||
* `helm github install --repo git@github.com:coreos/alb-ingress-controller.git --ref 6d64984 --path alb-ingress-controller-helm` | ||
* `helm github install --repo git@github.com:coreos/alb-ingress-controller.git --ref master --path alb-ingress-controller-helm --namespace kube-system --name alb-ingress-ctlr-1 -f alb-ingress-controller/values.yml --version 0.0.6` | ||
|
||
### Upgrade the `happy-panda` release to a new version of the chart from a GitHub repo | ||
|
||
* `helm github upgrade happy-panda --repo git@github.com:kubernetes/charts.git --path stable/external-dns` | ||
* `helm github upgrade happy-panda --repo git@github.com:coreos/alb-ingress-controller.git --ref 6d64984 --path alb-ingress-controller-helm` | ||
* `helm github upgrade happy-panda --repo git@github.com:coreos/alb-ingress-controller.git --ref master --path alb-ingress-controller-helm -f alb-ingress-controller/values.yml --version 0.0.6` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: "github" | ||
version: "0.1.0" | ||
usage: "Install helm charts from github repos" | ||
version: "0.2.0" | ||
usage: "Install or upgrade Helm charts from GitHub repos" | ||
description: |- | ||
This plugin installs raw Helm charts from Github. | ||
command: "$HELM_PLUGIN_DIR/github-install.sh" | ||
This plugin installs or upgrades raw Helm charts from Github | ||
command: "$HELM_PLUGIN_DIR/github.sh" |