Commit graph

918 commits

Author SHA1 Message Date
Adam Reese
13912b3cc0 Merge pull request #3008 from adamreese/ref/kube-1.8
ref(*): kubernetes v1.8 support
2017-10-12 11:00:16 -07:00
Taylor Thomas
500c9983b5 Merge pull request #3019 from thomastaylor312/fix/crd_ordering
fix(tiller): Adds CRD ordering
2017-10-12 10:06:23 -07:00
Adam Reese
2b43ecd405
ref(*): kubernetes v1.8 support 2017-10-11 15:05:27 -07:00
Taylor Thomas
29c3b5276f fix(tiller): Adds CRD ordering
This adds CRD ordering into the explicit kind sorter list

Closes #2925
2017-10-09 23:21:44 -07:00
Remington Reackhof
9af1018bd3 Add secrets storage backend for releases 2017-10-08 22:11:41 -04:00
Taylor Thomas
d4ccef7ba7 Merge pull request #2999 from bonifaido/getterConstructor-err
fix(helm): invoking getterConstructor returns downstream error now
2017-10-07 12:32:45 -07:00
Dhilip
67af4998de helm create all defined template names should be namespaced … (#2845)
* helm create all defined template names should be namespaced https://docs.helm.sh/chart_best_practices/#names-of-defined-templates

* Update Doc

* Update example
2017-10-06 09:04:53 -06:00
Michal Cwienczek
dad8c6f644 Fix #2937 - helm always appends /index.yaml at the end of URL (#2988)
* Closes #2937
Added required dependency to run make test in developer's guide

* Fixed base URL appending when chart address is not absolute

* Removed requirement from developers.md

* Fixed unnecessary line breaks

* Added tests for query string repo

* Returning URL along with error
2017-10-06 08:59:11 -06:00
Matthew Fisher
d7a81c99e1 Merge pull request #2976 from HotelsDotCom/respect-apiversion-change
Ignore Apiversion, use Kind and Name only to search for original resource on update/delete
2017-10-04 16:23:37 -07:00
Matthew Fisher
d4f5a133dd Merge pull request #2960 from HotelsDotCom/upgrade-failure-record-release-as-update
Correctly persists Release upgrade failure
2017-10-03 12:30:48 -07:00
Taylor Thomas
f8e9741578 Merge pull request #2984 from thomastaylor312/feat/add_missing_test
fix(sorter): Adds missing unit test
2017-10-03 11:41:10 -07:00
Matthew Fisher
e3e1116eaa Merge pull request #2857 from llsheldon/fix-dependency-alias
fix(helm):Fix dependency aliaes not working
2017-10-03 10:59:11 -07:00
Matthew Fisher
3799c477d1 Merge pull request #2938 from bacongobbler/remove-facebookgo
Remove facebookgo dependencies
2017-10-03 10:44:42 -07:00
Nandor Kracser
a28e5dd2b3 fix(helm): invoking getterConstructor returns downstream error now 2017-10-03 12:01:49 +02:00
Justin Scott
b642ba2087 Merge pull request #2831 from jascott1/sort_unknown_kind
bug(tiller): sort unknown but different kinds alphabetically based on kind name
2017-10-02 13:13:04 -07:00
Matthew Fisher
b600ea475e Merge pull request #2982 from HotelsDotCom/pkg-lint-test-panics
Avoid panics if test is failing
2017-09-29 10:39:16 -07:00
Taylor Thomas
acd113ec21 Merge pull request #2978 from HotelsDotCom/detailed-wait-log
More helpful wait messages in tiller logs
2017-09-28 17:57:11 -07:00
Taylor Thomas
333f8dd354 fix(sorter): Adds missing unit test
Adds a unit test that was missed as part of #2961
2017-09-28 08:51:12 -07:00
Maxim Ivanov
a6872c124a Avoid panics if test is failing 2017-09-28 13:54:40 +01:00
Taylor Thomas
8c2c9fcf6e Merge pull request #2961 from NauxLiu/patch-1
Load StorageClass before PersistentVolume is loaded.
2017-09-27 21:08:30 -07:00
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
Maxim Ivanov
cd8bae1df5 More helpful wait messages in tiller logs 2017-09-27 18:45:36 +01:00
Maxim Ivanov
bed80e482c When looking for original resource on update/delete, ignore Apiversion, use Kind and Name only
Kind can change it's APIVersion with time, such as "Deployment" which was
"extensions/v1beta1" and then migrated to "apps/v1beta1" in Kube 1.6.

Name, Kind and optinally Namespace are used to find relevant Info
object for a original resource which is being upgraded, it safe enough,
as it is uniquely identifies an object.
2017-09-27 13:24:12 +01:00
Matthew Fisher
f278675f98 remove references to facebookgo/symwalk 2017-09-26 15:21:40 -07:00
Matthew Fisher
211f5f6f33 Revert "fix(helm): resolve symlinks when loading chart"
This reverts commit edd4e56112.
2017-09-26 15:02:33 -07:00
Matthew Fisher
9d1db2851e Revert "Write repo file using atomicfile"
This reverts commit 965cb7fd1c.
2017-09-26 14:57:17 -07:00
Maxim Ivanov
ff5acc9bd8 Make Memory driver to store copy of releases to stop hiding storage errors during tests 2017-09-26 15:32:49 +01: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
NauxLiu
c3f9120e02
Load StorageClass before PersistentVolume is loaded. 2017-09-22 21:29:46 +08:00
Maxim Ivanov
38c3f58dca Correctly persists Release upgrade failure
When release upgrade fails, updatedRelease is already created
in a storage by *ReleaseServer.UpdateRelease, therefore we should
be updating it's status, not creating it again.
2017-09-22 11:36:29 +01: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
llsheldon
0440b54bbf fix(helm):Fix dependency aliaes not working
The alias functionality only works when a hardcoded version
is used. Any use of semver logic causes unexpected behavior.
I use version.IsCompatibleRange to check the dependency version.

Closes #2794
2017-09-07 19:46:13 +08:00
Adnan Abdulhussein
8fd8a7c324 fix(create): port-forward should use internal port
cc @james-w
2017-09-07 10:43:53 +01:00
Justin Scott
ed24b3199a bug(tiller): sort unknown but different kinds alphabetically based on kind name
Adds additional manifest sorting logic so that different unknown kinds
are sorted alphabetically so that manifest order is more deterministic.
2017-09-06 15:55:30 -07: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