Commit graph

888 commits

Author SHA1 Message Date
Taylor Thomas
49120bb436 Merge pull request #2849 from yan234280533/patch-pod
Add the status of pod when using "Helm status" command, as the issue #2318
2017-09-27 19:16:26 -07:00
Matthew Fisher
cf3fc21e81 Merge pull request #2898 from zlabjp/kube-version
feat(helm): add --kube-version flag to helm template
2017-09-25 15:19:05 -07:00
carlory
ad2d8e434a fix fromjson comment 2017-09-18 15:46:36 +08:00
carlory
b9d3974df0 fix func comment 2017-09-18 15:38:35 +08:00
devinyan
3458ad8e6a Add the status of pod when using "Helm status" command 2017-09-15 23:19:33 +08:00
Kazuki Suda
fa3ee5aecf feat(helm): add --kube-version flag to helm template
This commit adds --kube-version flag to helm template. It allows you to
override the Kubernetes version used as Capabilities.KubeVersion.Major/Minor (e.g. 1.7).
2017-09-11 11:22:00 +09:00
Kazuki Suda
3508cebbf6 Use the same defaults as done in helm lint for Capabilities 2017-09-11 10:09:42 +09:00
Michelle Noorali
84bb77f183 Merge pull request #1997 from AmandaCameron/issue/1401
Take a crack at Issue #1401
2017-09-08 07:58:37 -06:00
Amanda Cameron
415e52bf55 Add support for sub-directory scanning as in issue #1401 2017-09-08 09:33:44 -04:00
Adnan Abdulhussein
8fd8a7c324 fix(create): port-forward should use internal port
cc @james-w
2017-09-07 10:43:53 +01:00
Matthew Fisher
1ac5cd78de Merge pull request #2901 from bacongobbler/bump-lint-k8s-version
bump k8s version in helm lint to 1.7
2017-09-06 12:55:45 -07:00
Steven E. Harris
f588315b76 Remove spurious field in kind sorter test (#2667)
The test never reads the manifest type's "content" field, so there's
no reason to populate it explicitly with its zero value.
2017-09-06 14:36:25 -04:00
Matthew Fisher
8b512808df bump k8s version in helm lint to 1.7 2017-09-06 10:01:38 -07:00
Matthew Fisher
bb5db61325 Merge pull request #2781 from jascott1/i2755-template
feat(helm): add `template` command
2017-09-05 10:09:23 -07:00
DoctorZK
608fd7318a fix(tiller): fix a warning bug in hook annotation 2017-08-30 17:28:36 +08:00
Justin Scott
8befd50c12 Merge pull request #2850 from rocky-nupt/fix-update-delete-subcharts
Fix(helm): Fix the bug of dependency update deleting subcharts
2017-08-29 22:22:58 -07:00
Justin Scott
4a02a71f1e WIP feat(helm): add template command
This adds the functionality from the helm-template plugin to allow the
rendering of templates without Tiller.

Closes #2755
2017-08-28 18:04:56 -07:00
xuhaigang
b79033a715 Merge branch 'fix-update-delete-subcharts' of https://github.com/rocky-nupt/helm into fix-update-delete-subcharts 2017-08-25 13:05:00 +08:00
xuhaigang
4ffb9dfb4b Fix(helm): Fix the bug of dependency update deleting subcharts
In Helm 2.6.0, the new delete feature that deletes old versions of
charts is deleting subcharts that aren't in requirements.yaml.
In this patch, I judge the dependency whether it is included in the
requirements.yaml before deleting it.

Closes #2830
2017-08-24 12:31:54 +08:00
DockerZK
734b124577 feat(*) add key helm.sh/hook-delete-policy to hook annotation
When "helm.sh/hook-delete-policy: hook-succeeded" is provided in a hook's annotation, Tiller will automatically delete the hook after the hook is succeeded. When "helm.sh/hook-delete-policy: hook-failed" is provided in a hook's annotation, Tiller will automatically delete the hook after the hook is failed.

Closes #1769
2017-08-24 12:18:28 +08:00
Matt Butcher
a736c2a3fe Merge pull request #2636 from technosophos/feat/2332-max-history
feat(tiller): limit number of versions stored per release
2017-08-17 13:33:10 -06:00
Kira
4c1a47480e feat(2450): add annotations to chart metadata (#2671)
* feat(2450): add options to chart metadata
2017-08-16 18:27:13 -04:00
Adam Reese
5bc7c619f8
chore(*): bump to v2.6.0 2017-08-16 11:56:09 -07:00
Taylor Thomas
7a6dbfea49 Merge pull request #2790 from nebril/dependency-update-chart-deletion
Delete old deps after chart deps are updated
2017-08-16 10:31:37 -07:00
Justin Scott
f239050996 Update kind subsort to sort unknown kinds alphabetically.
Remove length check from subsort test. Add check for unknowns.
2017-08-16 00:32:33 -07:00
Justin Scott
87d2b7ab67 Add test for kind sorter sub sort 2017-08-16 00:32:33 -07:00
Justin Scott
66c4f7453e feat(tiller): sort manifests alphabetically if they are same kind
Updates Tiller manifest sorting so that manifests of the same kind are
then sorted alphabetically.

Closes #1696
2017-08-16 00:32:33 -07:00
Matt Butcher
0853f4906a
feat(tiller): limit number of versions stored per release
This adds a new configuration option to Tiller to limit the number of
records stored per release.

Tiller stores historical release information (helm history, helm
rollback). This makes it possible to set a maximum number of versions
per release.

To enable this feature, use `helm init --history-max NNN`. Note that
because of the restrictions on Deployment objects, you will have to
re-install Tiller to add a limit.

Along the way, I found an unreported bug in the Memory storage driver.
This fixes that bug and adds substantially more tests to catch
regressions.

Closes #2332
2017-08-10 12:01:20 -06:00
Maciej Kwiek
9c4bb14673 Delete old deps after chart deps are updated
This change changes the order of operations in
pkg/downloader.Manager.downloadAll

Old charts are moved to tmp directory which is restored in case any
dependency update fails. Otherwise tmp dir is deleted.
2017-08-10 17:36:00 +02:00
Maxime Guyot
bbf2d6b7e8 Fix the default NOTES.txt 2017-08-09 13:29:51 +02:00
Taylor Thomas
6ab706ae6c Merge pull request #2768 from JarreyZhou/master
feat(helm):use a variable for labels to get tiller pod
2017-08-07 19:45:28 -07:00
Taylor Thomas
8cf72adf52 Merge pull request #2711 from bonifaido/handle-tlspath-error
Redefine the err variable in NewChartRepository, otherwise errors migh slip through
2017-08-07 19:40:20 -07:00
Taylor Thomas
8eaed9d3a7 Merge pull request #2729 from rbwsam/fix/leading_zeros
fix(pkg/strvals): preserve leading zeros in vals
2017-08-07 19:27:24 -07:00
Taylor Thomas
e5ea075271 Merge pull request #2727 from Miouge1/master
Updating default values.yaml comments
2017-08-07 14:32:48 -07:00
Jerry Zhou
23905f1494 feat(helm):use a variable for labels to get tiller pod 2017-08-07 09:14:58 +08:00
Sam Leavens
a5dc546726 fix(pkg/strvals): use rune literal instead of ASCII
When checking that a value begins with zero use a rune literal instead of the
ASCII code for zero.
2017-07-27 11:32:10 -07:00
Brian
d5682ae4f5 Merge pull request #2615 from bonifaido/optional-ca-file
CAFile is now optional, in that case the default RootCAs are used
2017-07-27 09:39:42 -06:00
Matt Butcher
4a7d47cd74 Merge pull request #2719 from nebril/release-module-nil
Handle nil responses returned from rudder funcs
2017-07-27 09:22:33 -06:00
Miouge1
6cfed9d635 Updating default values.yaml comments
Following the instructions to simply uncomment the following lines results in a invalid yaml output
2017-07-27 10:53:52 +02:00
Sam Leavens
609e72b357 fix(pkg/strvals): preserve leading zeros in vals
When passing values with "helm install --set" values with leading zeros are
preserved and not parsed as ints.

Closes #2693
2017-07-26 17:16:39 -07:00
Steven E. Harris
e8d80729ac Merge pull request #2703 from rbwsam/ref/simplify_error
ref(pkg/chartutil): replace use of 'fmt.Efforf'
2017-07-25 10:14:32 -04:00
Maciej Kwiek
6b16ee2fb7 Handle nil responses returned from rudder funcs
Tiller panicked on nil pointer dereference when it was unable to connect
to rudder.
2017-07-25 13:36:21 +02:00
Matt Butcher
88aa4def3e Merge pull request #2701 from jascott1/i2560-hang
fix(tiller): remove locking system from storage and rely on backend
2017-07-24 15:58:43 -06:00
Steven E. Harris
98c8e3c138 Merge pull request #2704 from rbwsam/ref/2663
ref(pkg/chartutil): decrease map lookups
2017-07-24 14:36:27 -04:00
Nandor Kracser
9f963c84b4 Redefine the err variable in NewChartRepository, otherwise errors might slip through 2017-07-24 11:26:11 +02:00
Taylor Thomas
8fc88ab626 Merge pull request #2681 from at1012/at-helm-list
feat(2063): Better 'helm list' visibility into state of pending upgrades
2017-07-20 21:46:27 -07:00
Sam Leavens
098df8b186 ref(pkg/chartutil): improve comment spacing
Reduce comment spacing to single tab.
2017-07-20 14:21:40 -07:00
Sam Leavens
f7ca52dfc8 ref(pkg/chartutil): improve comment for PathValue
Make comment for PathValue more explanatory.
2017-07-20 13:59:28 -07:00
Sam Leavens
cf09e344d1 fix(pkg/chartutil): Fix test, improve message
Fix inverted equaility check and update error message.
2017-07-20 13:19:48 -07:00
Sam Leavens
8df52b6501 ref(pkg/chartutil): move comment
Move comment out of test. Move ref location in test.
2017-07-20 13:10:59 -07:00