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