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
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
7 years ago
Matt Butcher
a736c2a3fe
Merge pull request #2636 from technosophos/feat/2332-max-history
...
feat(tiller): limit number of versions stored per release
7 years ago
Kira
4c1a47480e
feat(2450): add annotations to chart metadata ( #2671 )
...
* feat(2450): add options to chart metadata
7 years ago
Adam Reese
5bc7c619f8
chore(*): bump to v2.6.0
7 years ago
Taylor Thomas
7a6dbfea49
Merge pull request #2790 from nebril/dependency-update-chart-deletion
...
Delete old deps after chart deps are updated
7 years ago
Justin Scott
f239050996
Update kind subsort to sort unknown kinds alphabetically.
...
Remove length check from subsort test. Add check for unknowns.
7 years ago
Justin Scott
87d2b7ab67
Add test for kind sorter sub sort
7 years ago
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
7 years ago
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
7 years ago
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.
7 years ago
Maxime Guyot
bbf2d6b7e8
Fix the default NOTES.txt
7 years ago
Taylor Thomas
6ab706ae6c
Merge pull request #2768 from JarreyZhou/master
...
feat(helm):use a variable for labels to get tiller pod
7 years ago
Taylor Thomas
8cf72adf52
Merge pull request #2711 from bonifaido/handle-tlspath-error
...
Redefine the err variable in NewChartRepository, otherwise errors migh slip through
7 years ago
Taylor Thomas
8eaed9d3a7
Merge pull request #2729 from rbwsam/fix/leading_zeros
...
fix(pkg/strvals): preserve leading zeros in vals
7 years ago
Taylor Thomas
e5ea075271
Merge pull request #2727 from Miouge1/master
...
Updating default values.yaml comments
7 years ago
Jerry Zhou
23905f1494
feat(helm):use a variable for labels to get tiller pod
7 years ago
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.
8 years ago
Brian
d5682ae4f5
Merge pull request #2615 from bonifaido/optional-ca-file
...
CAFile is now optional, in that case the default RootCAs are used
8 years ago
Matt Butcher
4a7d47cd74
Merge pull request #2719 from nebril/release-module-nil
...
Handle nil responses returned from rudder funcs
8 years ago
Miouge1
6cfed9d635
Updating default values.yaml comments
...
Following the instructions to simply uncomment the following lines results in a invalid yaml output
8 years ago
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
8 years ago
Steven E. Harris
e8d80729ac
Merge pull request #2703 from rbwsam/ref/simplify_error
...
ref(pkg/chartutil): replace use of 'fmt.Efforf'
8 years ago
Maciej Kwiek
6b16ee2fb7
Handle nil responses returned from rudder funcs
...
Tiller panicked on nil pointer dereference when it was unable to connect
to rudder.
8 years ago
Matt Butcher
88aa4def3e
Merge pull request #2701 from jascott1/i2560-hang
...
fix(tiller): remove locking system from storage and rely on backend
8 years ago
Steven E. Harris
98c8e3c138
Merge pull request #2704 from rbwsam/ref/2663
...
ref(pkg/chartutil): decrease map lookups
8 years ago
Nandor Kracser
9f963c84b4
Redefine the err variable in NewChartRepository, otherwise errors might slip through
8 years ago
Taylor Thomas
8fc88ab626
Merge pull request #2681 from at1012/at-helm-list
...
feat(2063): Better 'helm list' visibility into state of pending upgrades
8 years ago
Sam Leavens
098df8b186
ref(pkg/chartutil): improve comment spacing
...
Reduce comment spacing to single tab.
8 years ago
Sam Leavens
f7ca52dfc8
ref(pkg/chartutil): improve comment for PathValue
...
Make comment for PathValue more explanatory.
8 years ago
Sam Leavens
cf09e344d1
fix(pkg/chartutil): Fix test, improve message
...
Fix inverted equaility check and update error message.
8 years ago
Sam Leavens
8df52b6501
ref(pkg/chartutil): move comment
...
Move comment out of test. Move ref location in test.
8 years ago
Sam Leavens
3ee70291c8
ref(pkg/chartutil): Capitalize YAML
...
Capitalize "yaml" in error message. Remove empty var from test error message.
8 years ago
Sam Leavens
51b59497ee
ref(pkg/chartutil): decrease map lookups
...
Decrease map lookups in `chartutil.coalesceValues` and move comment to unit
test.
Closes #2663
8 years ago
Justin Scott
fa68a6e1db
fix(tiller): remove locking system from storage and rely on backend controls
...
Tiller currently hangs indefinitely when deadlocks arise from certain
concurrent operations. This commit removes the nested mutex locking
system from pkg/Storage and relies on resource contention controls in k8s.
Closes #2560
8 years ago
Sam Leavens
9b8928edf4
ref(pkg/chartutil): replace use of 'fmt.Efforf'
...
'fmt.Errorf' is unnecessary when checking for 0 length path in Values.PathValue
due to the lack of formatting. Add test covering changes.
8 years ago
Adam Reese
a29e610938
fix(helm): fix flag parsing once and for all
8 years ago
Aishwarya Thangappa
915e7023c4
Added more granular statuses
8 years ago
Aishwarya Thangappa
9d67d8b954
Added PENDING status to helm install
8 years ago
Aishwarya Thangappa
3d4361ca1f
Modified release_update and release_rollback
8 years ago
Aishwarya Thangappa
a9c16fc964
Added PENDING status to status.proto and regenerated the pb.go files
8 years ago
Adam Reese
9325d136d4
fix(tests): fix sorting hooks test flake
8 years ago
Taylor Thomas
0a20ed73be
Merge pull request #2644 from alonl/master
...
Fix a bug causing 'helm depndency update' to delete required charts
8 years ago
Steven E. Harris
2aaad8242e
Merge pull request #2666 from adamreese/ref/cleanup-tests
...
ref(tests): simplify kind sorter test
8 years ago
Steven E. Harris
e028be065d
Merge pull request #2650 from arschles/apiservice
...
Add the "APIService" kind to the installation sort order
8 years ago
Aaron Schlesinger
58a2d7b5c1
Adding APIService to the kind sorter tests
8 years ago
Adam Reese
0d1f6b981f
ref(tests): simplify kind sorter test
8 years ago
Scott Rigby
6dc31f8e96
Test that the coalesced key is properly removed for all YAML null syntax options, but not for empty string
8 years ago
Scott Rigby
645f01eb22
New Helm functionality to delete a coalesced YAML key when the value is nil.
...
- Note that this covers all YAML null syntax options:
ref: http://yaml.org/type/null.html
- Note that we do a nil comparison because the encoding/yaml package parses
YAML properly and any variation of null, Null, NULL, or ~ is converted to nil
by the time we get here.
8 years ago
Adam Reese
845e990143
feat(*): use kubernetes 1.7
8 years ago
Matt Butcher
883da97396
Merge pull request #2607 from sushilkm/issues/2599
...
Adds charts in "charts\" directory to dependencies
8 years ago
Aaron Schlesinger
5ff75f84a6
Adding APIService to the sort order
...
This ensures that APIService resources are installed last and
uninstalled first
8 years ago
Alon Lavi
04a7e241e6
Fix a bug causing 'helm depndency update' to delete required charts
8 years ago
Ilya Semenov
13b15f5662
Remove service.type mention from ingress docs
8 years ago
Justin Scott
af4c243ee3
Correct punctuation and capitalization for user facing strings.
8 years ago
Michelle Noorali
29c4709b5e
Merge pull request #2550 from michelleN/export-fake-release-client
...
ref(helm): make FakeReleaseClient public
8 years ago
Nandor Kracser
5f96fb816c
CAFile is now optional, in that case the default RootCAs are used
8 years ago
Sushil Kumar
82da721c0a
Added tests for different combinations of subcharts & requirements.yaml
...
Added more tests to test following comibnations of subcharts and requirements.yaml
- [ ] subcharts not specified in requirements.yaml
- [ ] some subcharts specified in requirements.yaml while others should be picked directly from "charts\"
- [ ] all subcharts specified in requirements.yaml without alias
- [ ] subcharts specified in requirements.yaml with alias is already tested
8 years ago
Y.W
0f953403a2
give an uniform check for release process ( #2565 )
...
* give an uniform check for release process
* fixed as the review of adamreese: update the err message when releasename is empty and update the test units.
* fixed as the review of bacongobbler: add more detail information to return message. the regex rule is added to the return message.
8 years ago
Michelle Noorali
8a99a4aa6f
ref(helm): rename FakeReleaseClient -> FakeClient
8 years ago
Sushil Kumar
7ce5c7925b
Adds charts in "charts\" directory to dependencies
...
Dependencies should be processed even if they are not added to requirements.yaml
Fixes https://github.com/kubernetes/helm/issues/2599
8 years ago
Sushil Kumar
bfd74c35e9
Added omitempty to Requirements struct
...
This was needed to get correct sha for requirements.yaml and requirements.lock
Fixes https://github.com/kubernetes/helm/issues/2598
8 years ago
Adam Reese
012cb0ac1a
chore(*): bump to v2.5.0
8 years ago
Sushil Kumar
f476f83e83
<chart>.tgz will now be downloaded to "$HELM_HOME/cache/archive" directory ( #2558 )
...
* <chart>.tgz will now be downloaded to "$HELM_HOME/cache/archive" directory
Fixes https://github.com/kubernetes/helm/issues/2142
* Added archive location to helm init
8 years ago
Reinhard Nägele
76e6e15a0c
Add comment on resources
8 years ago
Reinhard Nägele
51923e54b1
Improve 'helm create'
8 years ago
Adam Reese
72cd1464d2
Merge pull request #2570 from adamreese/ref/goimports
...
ref(tiller): cleanup goimports
8 years ago
Matt Butcher
dece57e0ba
Merge pull request #2350 from eicnix/master
...
Added "tpl" template function
8 years ago
Adam Reese
eccb041c0f
ref(tiller): cleanup goimports
8 years ago
Matt Butcher
ecef026b68
Merge pull request #2545 from technosophos/feat/set-list-index
...
feat(helm): support array index format for --set.
8 years ago
Steven E. Harris
9f9b3e8729
Use versioned API types from the client-go library ( #2524 )
...
* Use versioned API types from the client-go library
Wherever possible, use the k8s.io/client-go/kubernetes.Interface type
in favor of the client-related types from package
k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset
The latter are still required by the kubectl "reaper" types used in
the "installer" and "kube" packages.
* Accept the default deployment replica count of one
Don't bother requesting a single replica explicitly.
8 years ago
Matt Butcher
c01c7318ab
feat(helm): support array index format for --set.
...
This adds support for specifying list position with an array index using
`--set`. For example, this now works: `--set servers[0].port=8080`
8 years ago
Lukas Eichler
39db9ec6e8
Merge branch 'master' into master
8 years ago
Michelle Noorali
15c14194c4
Merge pull request #2457 from michelleN/hooks-bug
...
fix(tiller): track hooks in multi-def manifests
8 years ago
Michelle Noorali
70520efac4
ref(helm): make FakeReleaseClient public
...
so it can be used by other projects that
use the helm client
8 years ago
Taylor Thomas
e3250e3319
Merge pull request #2534 from sushilkm/issues/2508
...
First alias would be dependency rename
8 years ago
Matt Butcher
d2a4c40fa5
Merge pull request #2541 from technosophos/fix/2525-helm-get-broken-release
...
fix(tiller): make GetReleaseContent return any release
8 years ago
Matt Butcher
c55577ace6
Merge pull request #2535 from jascott1/i2331
...
fix(helm): remove unnecessary values merge in processImportValues
8 years ago
Michelle Noorali
6bfb08a760
ref(tiller): refactor sortManifests()
8 years ago
Michelle Noorali
83c69a8e10
fix(tiller): track hooks in multi-def manifests
...
resolves #2290
8 years ago
Sushil Kumar
716be14ad3
Updated code to read requirements.yaml as per following structure
...
```
- name: <dependency-chart-name>
alias: <alias-name-to-be-used>
version: <dependency-chart-version>
repository: <dependency-chart-version>
```
8 years ago
Sushil Kumar
541d052202
First alias would be dependency rename
...
Fixes https://github.com/kubernetes/helm/issues/2508
8 years ago
Matt Butcher
c913911337
fix(tiller): make GetReleaseContent return any release
...
For some reason, GetReleaseContent was configured to return the latest
release only if it is in state DEPLOYED. But a release with a version is
returned regardless of release. This made it really hard to debug failed
releases, even though we have the data to show.
Closes #2525
8 years ago
Adam Reese
8272360681
Merge pull request #2476 from adamreese/fix/flag-envars
...
fix(helm): fix race conditions in flag parsing
8 years ago
Matt Butcher
3647e60786
Merge pull request #2512 from technosophos/fix/2510-missing-url-prefix
...
fix(helm): prepend repo URL to packages missing scheme
8 years ago
Matt Butcher
8f3c2d5e18
Merge pull request #2511 from technosophos/fix/2452-predictable-template-order
...
fix(2452): sort templates before parse
8 years ago
devinyan
d3b14db325
adjust the check parameter order for uninstall
8 years ago
Justin Scott
40052d3e8f
fix(helm): remove unnecessary values merge in processImportValues
...
The function chartutil.processImportValues was merging values unnecessarily and incorrectly merging --set values.
Closes #2331
8 years ago
Seth Goings
da383b35e5
Merge pull request #2518 from sgoings/fixup-plugin-install-grammar
...
fix(plugins): exists --> exist
8 years ago
Taylor Thomas
d9c0a8b434
fix(tiller): Adds missing import back
...
PR #2513 was behind master when merged. Other commits were
added that required the use of the log package. This re-adds
that package.
8 years ago
Taylor Thomas
b71bd6a455
Merge pull request #2513 from thomastaylor312/feat/moar_logging
...
feat(tiller): Adds more logging
8 years ago
Taylor Thomas
119fa6537c
feat(tiller): Adds more logging
...
This builds on previous work and adds more logging to follow
the full process of installing, updating, deleting, and rolling back.
This also standardizes capitalization of logs and small formatting
fixes
8 years ago
Seth Goings
e7a51d5424
fix(plugins): exists --> exist
8 years ago
Adam Reese
d797acbd7b
fix(helm): fix race conditions in flag parsing
...
* fix a number of issues with flag parsing
* add support for `HELM_DEBUG`
* lazy expand flag default envars
8 years ago
Lukas Eichler
9cd9fc47df
removed debug file
8 years ago
Lukas Eichler
439f1b31d1
Added unit test for include in tpl function
8 years ago
Lukas Eichler
ce8e8d6778
Added storage of parsed templates in engine
8 years ago
Matt Butcher
8937c775a9
fix(2452): sort templates before parse
...
This sorts templates by depth before sending them to the template
parser. Deepest templates are parsed first, with umbrella templates
parsed last. Since template definition names are LIFO, that means that
the highest level templates will claim the namespace.
Or, to put it simply, you can predictably override a child's defined
template by re-defining it in a parent chart.
Closes #2452
8 years ago
Matt Butcher
4c6a7cf759
fix(helm): prepend repo URL to packages missing scheme
...
When a repository is generated without --url, the packages in that
repository do not have FQDNs. In this case, the URL prefix (FQDN plus
base path) should be derived from the repository's base URL. This seems
to be a regression that crept in around Helm 2.2.0. This is now fixed.
Closes #2315
Closes #2510
8 years ago
peay
a9fa9282e1
Add --force to upgrade and rollback (generated changes)
8 years ago
peay
0f26cc5522
Add --force to upgrade and rollback
8 years ago
Taylor Thomas
7a49e5c3e1
Merge pull request #2500 from sushilkm/issues/2488
...
Check existence of $HELM_HOME/plugins before installing plugin
8 years ago
Taylor Thomas
7dd6eb22f7
Merge pull request #2486 from sushilkm/issues/2383
...
Adds alias for dependencies
8 years ago
Sushil Kumar
a6556b4982
Check existence of $HELM_HOME/plugins before installing plugin
...
Fixes https://github.com/kubernetes/helm/issues/2488
8 years ago
Sushil Kumar
42aa81e7ca
Added tests for alias(es) for chart dependencies
8 years ago
Sushil Kumar
34f9c67e04
Shallow copy existing chart details
8 years ago
tyrannasaurusbanks
b4fc1c7cb2
Add check to ensure helm doesnt 'wait' for external services to become 'ready'
8 years ago
fibonacci1729
04d0abfd7c
ref(tiller): refactor tests into logical files
...
TestInstallRelease_WithChartAndDependencyNotes -> tiller/release_install_test.go
TestInstallRelease_WrongTillerVersion -> tiller/release_install_test.go
TestInstallRelease_WithNotesRendered -> tiller/release_install_test.go
TestInstallRelease_TillerVersion -> tiller/release_install_test.go
TestInstallRelease_FailedHooks -> tiller/release_install_test.go
TestInstallRelease_ReuseName -> tiller/release_install_test.go
TestInstallRelease_WithNotes -> tiller/release_install_test.go
TestInstallRelease_NoHooks -> tiller/release_install_test.go
TestInstallRelease_DryRun -> tiller/release_install_test.go
TestInstallRelease -> tiller/release_install_test.go
8 years ago
fibonacci1729
22db973932
ref(tiller): refactor tests into logical files
...
TestListReleasesByStatus -> tiller/release_list_test.go
TestListReleasesFilter -> tiller/release_list_test.go
TestListReleasesSort -> tiller/release_list_test.go
TestListReleases -> tiller/release_list_test.go
TestUpdateRelease_ResetReuseValues -> tiller/release_update_test.go
TestUpdateRelease_ResetValues -> tiller/release_update_test.go
TestUpdateRelease_ReuseValues -> tiller/release_update_test.go
TestUpdateReleaseNoChanges -> tiller/release_update_test.go
TestUpdateReleaseFailure -> tiller/release_update_test.go
TestUpdateReleaseNoHooks -> tiller/release_update_test.go
TestUpdateRelease -> tiller/release_update_test.go
TestRollbackReleaesFailure -> tiller/release_rollback_test.go
8 years ago
Sushil Kumar
156d48bc3b
Adds alias for dependencies
...
Fixes https://github.com/kubernetes/helm/issues/2383
Sample `requirements.yaml` I used for test purpose was for wordpress chart
```dependencies:
- name: mariadb
version: 0.5.10
repository: https://kubernetes-charts.storage.googleapis.com/
alias:
- db1
- db2
- db3
```
8 years ago
fibonacci1729
172dbb22cf
ref(tiller): refactor tests in logical files
...
TestRunReleaseTest -> tiller/release_testing_test.go
TestGetReleaseContent -> tiller/release_content_test.go
TestGetReleaseStatusDeleted -> tiller/release_status_test.go
TestGetReleaseStatus -> tiller/release_status_test.go
TestRollbackReleaseFailure -> tiller/release_rollback_test.go
TestRollbackReleaseNoHooks -> tiller/release_rollback_test.go
TestRollbackRelease -> tiller/release_rollback_test.go
TestUninstallReleaseWithKeepPolicy -> tiller/release_uninstall_test.go
TestUninstallPurgeDeleteRelease -> tiller/release_uninstall_test.go
TestUninstallReleaseNoHooks -> tiller/release_uninstall_test.go
TestUninstallPurgeRelease -> tiller/release_uninstall_test.go
TestUninstallRelease -> tiller/release_uninstall_test.go
8 years ago
fibonacci1729
2ae276ae39
ref(tiller): refactor tiller APIs into logical files
...
*ReleaseServer.InstallRelease -> tiller/release_install.go
*ReleaseServer.UpdateRelease -> tiller/release_update.go
8 years ago
fibonacci1729
a4d05fd2b2
ref(tiller): refactor tiller APIs into logical files
...
*ReleaseServer.UninstallRelease -> tiller/release_uninstall.go
*ReleaseServer.ListReleases -> tiller/release_list.go
8 years ago
fibonacci1729
b5c213d5dd
ref(tiller): refactor tiller APIs into logical files
...
*ReleaseServer.RollbackRelease -> tiller/release_rollback.go
8 years ago
fibonacci1729
62c4b152fd
ref(tiller): refactor tiller APIs into logical files
...
*ReleaseServer.GetReleaseContent -> tiller/release_content.go
*ReleaseServer.GetReleaseStatus -> tiller/release_status.go
8 years ago
fibonacci1729
3b3439f67d
ref(tiller): breakout ReleaseServer APIs into logical files.
...
*ReleaseServer.RunReleaseTest -> tiller/release_testing.go
*ReleaseServer.GetVersion -> tiller/release_version.go
8 years ago
Adam Reese
1e8ebae249
fix(plugins): add error when updating modified plugins
...
If git has autosetuprebase enabled pulling will fail without a
descriptive error message.
8 years ago
Adam Reese
15254e4c5c
feat(*): add generic logging interface ( #2394 )
...
Adds a generic logging interface to importable packages.
8 years ago
lead4good
bb4be33331
fixed fromYaml | toJson
8 years ago
Matt Butcher
2d192b1b1b
Merge pull request #2408 from technosophos/fix/2407-devel-releases
...
fix(helm): add --devel flag to allow dev releases again
8 years ago
Matt Butcher
f9c9e9d6cb
Merge pull request #2455 from technosophos/fix/2393
...
fix(lint): add KubeVersion and TillerVersion to linter
8 years ago
Matt Butcher
28ec92355b
fix(helm): add --devel flag to allow dev releases again
...
2.4.0 stopped installing development versions by default. This allows
the user to re-enable that support by setting --devel.
Closes #2407
8 years ago
Michelle Noorali
a53c29aee7
Merge pull request #2425 from michelleN/helm-test-error-codes
...
fix(*): return non-zero exit code on test failure
8 years ago
Adam Reese
595afc5c17
Merge pull request #2449 from rvbaz/write-index-atomic
...
Write repo file using atomicfile
8 years ago
Matt Butcher
d863d9a886
fix(lint): add KubeVersion and TillerVersion to linter
...
Closes #2393
8 years ago
Raphael Badin
965cb7fd1c
Write repo file using atomicfile
...
This prevents clients from seeing half-written files because
on POSIX systems renaming a file is an atomic operation.
Drive-by: Add test for repo file permission.
8 years ago
Sushil Kumar
ff42dadde4
Adds update option to plugin command ( #2410 )
...
* Adds update option to plugin command
Fixes issues/2385 - helm install silently updates the plugin, if it pre-existed
* Added tests for new methods for plugin update
* Updated docs
* Updated review comments :)
* Return error exit code when there is error
8 years ago
Michelle Noorali
488ca6fdd8
fix(*): return non-zero exit code on test failure
...
* resolves #2089
8 years ago
Adam Reese
35aabdb61a
Merge pull request #2423 from FengyunPan/add-check
...
Add check for getting kubeclient
8 years ago
Taylor Thomas
7d5f4e53db
Merge pull request #2430 from thomastaylor312/fix/deployment_wait
...
fix(tiller): Fixes bug with `--wait` and updated deployments
8 years ago
Matt Butcher
e8aa8d3678
Merge pull request #2405 from sushilkm/linting-fixes
...
Fixed issues reported by test-style
8 years ago
Taylor Thomas
d310612526
fix(tiller): Fixes bug with `--wait` and updated deployments
...
The current methodology generated its own RS slice instead of using
a helper method that uses a `clientset`. This caused some issues where
`FindNewReplicaSet` always returned `nil`. This switches the method and
removes some unneeded API calls and code.
Closes #2426
8 years ago
fengyun.pan
7887185984
Add check for getting kubeclient
8 years ago
Sushil Kumar
24157e4aed
Updated review comments :)
8 years ago
Sushil Kumar
c84fb11a68
Errors out in case requested plugin exists
...
Partially fixes issues/2385 - helm install silently updates the plugin, if it pre-existed
8 years ago
Sushil Kumar
6344f1d8e9
Errors out in case requested plugin version does not exists
...
Fixes issues/2384 - helm plugin install installs a default version in case requested version is not available
8 years ago
Sushil Kumar
61c3a44dc3
Fixed issues reported by test-style
8 years ago
Matt Butcher
5c227bffbb
Merge pull request #2361 from databus23/dont_render_partials
...
Skip rendering partials
8 years ago
Matt Butcher
982bb0cd2c
Merge pull request #2079 from nebril/new-backend
...
Experimental Rudder implementation
8 years ago
Sushil Kumar
d5fd75fe61
Updated StartLocalServerForTests to be private method
8 years ago
Maciej Kwiek
d9f72deb0d
Add comments to exported Rudder methods
...
Added make target
Lowered docker image sizes
Updated ruder.pb.go
8 years ago
Maciej Kwiek
1c9ae5577d
Basic Rudder Delete implementation
...
Extracted delete specific code from ReleaseServer to external function
which is called from both Local and Remote ReleaseModules.
Made getVersionSet function from tiller package exported.
8 years ago
Maciej Kwiek
5937e1a214
ReleaseServer.ReleaseModule has Status method
...
Both local and remote Release module implement release status check.
8 years ago
Maciej Kwiek
52c54b09c0
Move rudder proto to different package, add release status
8 years ago
Dmitry Shulyak
3cba189f53
Define both rudder port and rudder address for different needs
8 years ago
Dmitry Shulyak
bd47b8444f
Use rollback method on ReleaseModule interface
8 years ago
Dmitry Shulyak
59af46502d
Run make protoc to update hapi
8 years ago
Dmitry Shulyak
a883531f98
Implement upgrade for rudder
8 years ago
Maciej Kwiek
c1fcaf09ce
Experimental Rudder implementation
...
This change introduces the concept of Rudders - pluggable modules that
Tiller communicates with via grpc, which allow to decouple orchestration
logic from Tiller into separate service.
This commit consists of simple Rudder implementation which does exactly
the same thing as built in Tiller orchestrator - it creates all k8s
objects from provided manifest without orchestrating them.
--experimental-release flag is introduced to enable this behaviour.
This change allows to use the service and tiller outside of the cluster.
Following commits will add Rudder to helm deployment.
8 years ago
Sushil Kumar
dce9d88c25
Added tests for --repo flag for helm fetch command
...
- [ ] Added tests for --repo flag on `helm fetch` command
- [ ] Also added tests for (pkg/repo).FindChartInRepoURL
8 years ago
Taylor Thomas
b6586fdb50
Merge pull request #2300 from sushilkm/issues/2113
...
Implements --repo flag to commands fetch, install, inspect, upgrade
8 years ago
Sushil Kumar
2a5ab59895
Updated defer delete call
8 years ago
Adam Reese
1ec2c04be8
chore(*): bump to v2.4.0
8 years ago
Michelle Noorali
3cef2ed667
Merge pull request #2369 from michelleN/bug/2158-panic-on-new-line
...
fix(releaseutil): remove newline on SplitManifests
8 years ago
Michelle Noorali
dcfbb2bd35
fix(releaseutil): remove newline on SplitManifests
...
fixes #2158
8 years ago
Adnan Abdulhussein
f8b2c5eb57
fix(create): incorrect URL in default NOTES.txt
8 years ago
Sushil Kumar
d13b134ffb
Implements --repo flag to commands fetch, install, inspect, upgrade
8 years ago
Kiichiro Okano
46cad97950
Return as not ready if it new RS is nil
8 years ago
Adam Reese
0c91d41221
Merge pull request #2366 from adamreese/fix/2110-canary-versioning
...
fix(*): handle unreleased versioning
8 years ago
Matt Butcher
b1ade9c81a
Merge pull request #2314 from nebril/lock-release
...
Releases are locked to avoid parallel changes
8 years ago
Matt Butcher
6e63a547e2
Merge pull request #2354 from technosophos/fix/2271-alternate-toml-marshal
...
fix(tiller): fix TOML panic
8 years ago
Matt Butcher
e66cdcd1f3
Merge pull request #2352 from technosophos/ref/getter
...
ref(getter): flatten the getter package tree
8 years ago
Lukas Eichler
2521c526d9
- Changed error behaviour to returning an error instead of writing the error in the template
...
- Added tests for using a function inside a template that is evaluated using the "tpl" function
8 years ago
Lukas Eichler
d01f7978d2
Added implementation for a tpl function that evaluates a string as a template.
...
Implementation for #1978
8 years ago
Adam Reese
9ae84c730f
fix(tiller): make new version check backwards compatible
8 years ago
Matt Butcher
bd02f39384
ref(getter): flatten the getter package tree
...
This flattens the getter package tree, adds tests, and changes a little
bit of the terminology to follow Go idioms. This also makes much of the
getter API private to begin with. This will give us more flexibility in
the future.
8 years ago
Adam Reese
2e819e014d
fix(*): handle unreleased versioning
...
Adds an `unreleased` flag to the version if not building from HEAD of a
tag. The compatibility check is bypassed if the client or server are
unreleased.
fixes #2110
8 years ago
Matt Butcher
46035c35c4
fix(tiller): fix TOML panic
...
This fixes a TOML panic by replacing one parser library with another.
The older library did not gracefully handle reflection issues, and so
was prone to panic. The new one is not great, but it doesn't seem to
panic.
Closes #2271
8 years ago
Fabian Ruff
b94eb82d12
Skip rendering partials
...
The output of a rendered partial is not used and rendering it might fail if it expects different values
8 years ago
Fabian Ruff
124235ffed
Fail template execution if included template fails
8 years ago
Matt Butcher
3a943696b7
Merge pull request #2348 from technosophos/fix/environment-style-fixes
...
fix(helm): fix style errors in pkg/environment
8 years ago
Matt Butcher
3c55a0ee65
fix(helm): fix style issues
...
This just adds a few comments where the style linter was complaining.
8 years ago
Matt Butcher
7094651493
feat(*): update to latest gRPC and Protobuf
...
Effectively, this switches us to gRPC's internal version 4. This is
compatible with protoc 3.2 and grpc-go 1.2.1.
8 years ago
Maciej Kwiek
ec92b76054
Release are locked to avoid parallel changes
...
Environment is supplied with release lock map which allows to lock a
release by name to make sure that update, rollback or uninstall aren't
running on one release at the same time.
8 years ago
Adam Reese
b7f2c6f5fe
Merge pull request #2304 from adamreese/ref/debug
...
ref(helm): use new debug method to standardize debug output
8 years ago
Adam Reese
50eee83646
ref(helm): use new debug method to standardize debug output
8 years ago
Taylor Thomas
c463e1f185
ref(*): Regenerates protobuf files with protoc 3.2.0
...
Protoc was updated a little while ago and we are likely to get more
people using it. This should avoid weird merge conflicts and bump us
to the latest version
8 years ago
Brian
17c0de49d1
Merge pull request #2291 from fibonacci1729/master
...
test(*): add tests for new tls support
8 years ago
Matthias Thubauville
ce505f16e6
Fix indent for defaultDeployment
8 years ago
Matt Butcher
fe1104056c
Merge pull request #2279 from sstarcher/search_constraint
...
Search constraint and Install/Upgrade default constraint
8 years ago
Matt Butcher
d4e129d55c
Merge pull request #2283 from sushilkm/issues/2276
...
Validates chart-dir before running dependency list command
8 years ago
Shane Starcher
7150fc3d9e
bug(helm) - install/upgrade/search semver constraint support
8 years ago
fibonacci1729
73e6399294
test(*): add tests for new tls support
...
Adds a testdata directory to hold tls certs at the root
of the project. The tests cover pkg/tlsutil, cmd/helm,
and cmd/helm/installer.
Closes #2289
8 years ago
Sushil Kumar
99065aa331
Validates chart-dir before running dependency list command
...
Fixes issues/2276: helm dependency list hangs if run on large directory
8 years ago
Gergo Huszty
b4ca198cc6
Pluggable downloaders. Closes #2093 , #2094 .
...
It is now possible to create plugins with chart download capabilities for custom, non-http protocols.
Furthermore it is possible to reuse helm packages to implement alternative clients with these custom downloader functions.
8 years ago
Matt Butcher
0c11033fb7
Merge pull request #2171 from appscode/tiler-prom
...
Expose tiller server metrics to prometheus
8 years ago
Taylor Thomas
d03311b45a
Merge pull request #2188 from scottrigby/chartutil-ingress-example
...
chartutil create ingress example
8 years ago
sadlil
8c81e7336a
Add prometheus monitoring for tiler
8 years ago
Matt Butcher
573a8a190c
fix(tiller): ignore empty YAML documents during delete
...
Closes #2256
8 years ago
Matt Butcher
19b111b123
fix(helm): fix nil pointer in requirements.go
...
This fixes a segfault that was the result of assigning to a property of
a nil pointer.
Closes #2244
8 years ago
Serguei Bezverkhi
26343023a3
fix(tiller): increase maximum size of gRPC message
...
* tiller_fix_2261
* fix(tiller) 2261 Increase maxMsgSize to 20MB
8 years ago
Adam Reese
7a141a10b3
fix(helm): correct import for apps api
...
* cleanup named imports
8 years ago
Adam Reese
0ab38a998c
Merge pull request #2248 from adamreese/ref/kube-v1.6
...
ref(*): kubernetes v1.6
8 years ago
Matt Butcher
d97086cbdd
Merge pull request #2229 from technosophos/feat/chart-tiller-version
...
feat(tiller): support version constraint on chart
8 years ago
Adam Reese
85c41ef11a
ref(*): kubernetes v1.6
...
Rebase on kubernetes v1.6
8 years ago
Sushil Kumar
000bf9fd1a
Added release-name to helm delete error
...
Fixes https://github.com/kubernetes/helm/issues/2251
In case a user tries to delete a non-existent release,
the error message displayed was missing release-name.
8 years ago
Sushil Kumar
84fc5b776f
Fixes hard-coded linux based file-separator
...
Fixes https://github.com/kubernetes/helm/issues/2254
8 years ago
Scott Rigby
5bdcbee9af
Change secret name to something more standard
8 years ago
Scott Rigby
2be4547d13
Change to hosts array, and parameterize serviceName and servicePort
8 years ago
Adam Reese
e611936893
ref(plugin): cleanup unused functions
8 years ago
Matt Butcher
e4e0e32064
feat(tiller): support version constraint on chart
...
This provides the Chart.yaml field `tillerVersion`, which is a semver
range. It allows users to choose to constrain a chart to a specific
version.
The reason for this is that we keep introducing new template functions,
but we have no way of saying "this chart will only work with Tiller
newer than...".
The check on version is _only_ done on Tiller. The client does not check
at all, since it does not do any template expansion on its own.
8 years ago
Adam Reese
d83c245fc3
chore(*): bump to v2.3.0
8 years ago
Adam Reese
51b8d8a6ee
feat(helm): add plugin management commands
...
Add plugin management subcommands for installing and removing plugins
to `$HELM_HOST/plugins`.
Install accepts a vcs url or a local directory.
```
$ helm plugin install http://github.com/adamreese/helm-env
Installed plugin: env
$ helm plugin list
NAME VERSION DESCRIPTION
env 0.1.0 Print out the helm environment.
$ helm plugin remove env
Removed plugin: env
```
closes #1977
8 years ago
Matt Butcher
455dd97691
Merge pull request #2220 from jascott1/tags_fix
...
fix (pkg/chartutil): correctly parse input values for ProcessRequirem…
8 years ago
Brian
a8e0983362
Merge pull request #2108 from fibonacci1729/feat/tls
...
feat/tls: Support optional TLS for helm / tiller
8 years ago
kiich
85a91394aa
Merge branch 'master' into deploymentsReady-when-newRS-has-minimumReplicas
8 years ago
Matt Butcher
eb4a187df6
Merge pull request #2145 from technosophos/fix/2127-skip-refrsh-on-init
...
fix(helm): add 'skip-refresh' flag to 'helm init'
8 years ago
Justin Scott
8c720ee2c2
fix (pkg/chartutil): correctly parse input values for ProcessRequirementsEnabled
...
Fixes a bug where tags and conditions specified in values.yaml were not being respeceted, causing incorrect loading of subcharts.
Closes #2139
8 years ago
Matt Butcher
6d5b3bbb21
Merge pull request #2112 from jascott1/feat/1995-import_child_values
...
feat(helm): import child values to parent
8 years ago
fibonacci1729
735f4e3d4a
feat/tls: add TLS support for helm / tiller
8 years ago
Kiichiro Okano
e3655bb142
Trigger deployment as success when new replicaSet has reached minimum you need which is number of replicas minus maxUnavailable
8 years ago
Adam Reese
e4d39fd8c8
fix(*): add missing proto for weight hook
8 years ago
Taylor Thomas
f7f8552644
Merge pull request #2203 from seh/sort-more-kinds-for-installation
...
Add more object kinds to sorted installation order
8 years ago