Brad Bowman
e974ab31d8
[fakeclient-releasestatus] Move ReleaseMock and associates into helm package and update tests to use them
7 years ago
Brad Bowman
8d5cf13f69
Add test case for deleting the only existing item
7 years ago
Brad Bowman
cab3057ee3
Add support for all CRUD operations + test coverage for delete and install
7 years ago
Brad Bowman
61f2b24dca
Update comment for accuracy
7 years ago
Brad Bowman
76b70ec70f
gofmt -s
7 years ago
Brad Bowman
3bc7c44f05
Make ReleaseContent and ReleaseStatus respect release names in the fake client
7 years ago
Taylor Thomas
d4ccef7ba7
Merge pull request #2999 from bonifaido/getterConstructor-err
...
fix(helm): invoking getterConstructor returns downstream error now
7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
Matthew Fisher
d4f5a133dd
Merge pull request #2960 from HotelsDotCom/upgrade-failure-record-release-as-update
...
Correctly persists Release upgrade failure
7 years ago
Taylor Thomas
f8e9741578
Merge pull request #2984 from thomastaylor312/feat/add_missing_test
...
fix(sorter): Adds missing unit test
7 years ago
Matthew Fisher
e3e1116eaa
Merge pull request #2857 from llsheldon/fix-dependency-alias
...
fix(helm):Fix dependency aliaes not working
7 years ago
Matthew Fisher
3799c477d1
Merge pull request #2938 from bacongobbler/remove-facebookgo
...
Remove facebookgo dependencies
7 years ago
Nandor Kracser
a28e5dd2b3
fix(helm): invoking getterConstructor returns downstream error now
7 years ago
Justin Scott
b642ba2087
Merge pull request #2831 from jascott1/sort_unknown_kind
...
bug(tiller): sort unknown but different kinds alphabetically based on kind name
7 years ago
Matthew Fisher
b600ea475e
Merge pull request #2982 from HotelsDotCom/pkg-lint-test-panics
...
Avoid panics if test is failing
7 years ago
Taylor Thomas
acd113ec21
Merge pull request #2978 from HotelsDotCom/detailed-wait-log
...
More helpful wait messages in tiller logs
7 years ago
Taylor Thomas
333f8dd354
fix(sorter): Adds missing unit test
...
Adds a unit test that was missed as part of #2961
7 years ago
Maxim Ivanov
a6872c124a
Avoid panics if test is failing
7 years ago
Taylor Thomas
8c2c9fcf6e
Merge pull request #2961 from NauxLiu/patch-1
...
Load StorageClass before PersistentVolume is loaded.
7 years ago
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
7 years ago
Maxim Ivanov
cd8bae1df5
More helpful wait messages in tiller logs
7 years ago
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.
7 years ago
Matthew Fisher
f278675f98
remove references to facebookgo/symwalk
7 years ago
Matthew Fisher
211f5f6f33
Revert "fix(helm): resolve symlinks when loading chart"
...
This reverts commit edd4e56112
.
7 years ago
Matthew Fisher
9d1db2851e
Revert "Write repo file using atomicfile"
...
This reverts commit 965cb7fd1c
.
7 years ago
Maxim Ivanov
ff5acc9bd8
Make Memory driver to store copy of releases to stop hiding storage errors during tests
7 years ago
Matthew Fisher
cf3fc21e81
Merge pull request #2898 from zlabjp/kube-version
...
feat(helm): add --kube-version flag to helm template
7 years ago
NauxLiu
c3f9120e02
Load StorageClass before PersistentVolume is loaded.
7 years ago
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.
7 years ago
carlory
ad2d8e434a
fix fromjson comment
7 years ago
carlory
b9d3974df0
fix func comment
7 years ago
devinyan
3458ad8e6a
Add the status of pod when using "Helm status" command
7 years ago
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).
7 years ago
Kazuki Suda
3508cebbf6
Use the same defaults as done in helm lint for Capabilities
7 years ago
Michelle Noorali
84bb77f183
Merge pull request #1997 from AmandaCameron/issue/1401
...
Take a crack at Issue #1401
7 years ago
Amanda Cameron
415e52bf55
Add support for sub-directory scanning as in issue #1401
7 years ago
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
7 years ago
Adnan Abdulhussein
8fd8a7c324
fix(create): port-forward should use internal port
...
cc @james-w
7 years ago
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.
7 years ago
Matthew Fisher
1ac5cd78de
Merge pull request #2901 from bacongobbler/bump-lint-k8s-version
...
bump k8s version in helm lint to 1.7
7 years ago
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.
7 years ago
Matthew Fisher
8b512808df
bump k8s version in helm lint to 1.7
7 years ago
Matthew Fisher
bb5db61325
Merge pull request #2781 from jascott1/i2755-template
...
feat(helm): add `template` command
7 years ago
DoctorZK
608fd7318a
fix(tiller): fix a warning bug in hook annotation
7 years ago
Justin Scott
8befd50c12
Merge pull request #2850 from rocky-nupt/fix-update-delete-subcharts
...
Fix(helm): Fix the bug of dependency update deleting subcharts
7 years ago
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
7 years ago
xuhaigang
b79033a715
Merge branch 'fix-update-delete-subcharts' of https://github.com/rocky-nupt/helm into fix-update-delete-subcharts
7 years ago
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
7 years ago