Michelle Noorali
29c4709b5e
Merge pull request #2550 from michelleN/export-fake-release-client
...
ref(helm): make FakeReleaseClient public
2017-06-23 14:38:36 -04:00
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.
2017-06-22 10:05:29 -06:00
Michelle Noorali
8a99a4aa6f
ref(helm): rename FakeReleaseClient -> FakeClient
2017-06-21 20:27:14 -04:00
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
2017-06-21 11:18:27 -07:00
Adam Reese
012cb0ac1a
chore(*): bump to v2.5.0
2017-06-19 13:42:43 -07:00
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
2017-06-19 10:26:42 -07:00
Reinhard Nägele
76e6e15a0c
Add comment on resources
2017-06-18 14:42:36 +02:00
Reinhard Nägele
51923e54b1
Improve 'helm create'
2017-06-16 09:41:38 +02:00
Adam Reese
72cd1464d2
Merge pull request #2570 from adamreese/ref/goimports
...
ref(tiller): cleanup goimports
2017-06-12 19:35:29 -07:00
Matt Butcher
dece57e0ba
Merge pull request #2350 from eicnix/master
...
Added "tpl" template function
2017-06-12 13:37:17 -06:00
Adam Reese
eccb041c0f
ref(tiller): cleanup goimports
2017-06-12 10:30:21 -07:00
Matt Butcher
ecef026b68
Merge pull request #2545 from technosophos/feat/set-list-index
...
feat(helm): support array index format for --set.
2017-06-08 14:34:26 -06:00
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.
2017-06-08 12:30:59 -07:00
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`
2017-06-08 12:15:03 -06:00
Lukas Eichler
39db9ec6e8
Merge branch 'master' into master
2017-06-08 18:40:34 +02:00
Michelle Noorali
15c14194c4
Merge pull request #2457 from michelleN/hooks-bug
...
fix(tiller): track hooks in multi-def manifests
2017-06-08 10:37:01 -04:00
Michelle Noorali
70520efac4
ref(helm): make FakeReleaseClient public
...
so it can be used by other projects that
use the helm client
2017-06-07 01:37:55 -04:00
Taylor Thomas
e3250e3319
Merge pull request #2534 from sushilkm/issues/2508
...
First alias would be dependency rename
2017-06-06 22:33:51 -07:00
Matt Butcher
d2a4c40fa5
Merge pull request #2541 from technosophos/fix/2525-helm-get-broken-release
...
fix(tiller): make GetReleaseContent return any release
2017-06-06 11:48:51 -06:00
Matt Butcher
c55577ace6
Merge pull request #2535 from jascott1/i2331
...
fix(helm): remove unnecessary values merge in processImportValues
2017-06-06 11:48:22 -06:00
Michelle Noorali
6bfb08a760
ref(tiller): refactor sortManifests()
2017-06-05 20:52:20 -04:00
Michelle Noorali
83c69a8e10
fix(tiller): track hooks in multi-def manifests
...
resolves #2290
2017-06-05 20:46:57 -04:00
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>
```
2017-06-05 14:35:44 -07:00
Sushil Kumar
541d052202
First alias would be dependency rename
...
Fixes https://github.com/kubernetes/helm/issues/2508
2017-06-05 14:23:05 -07:00
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
2017-06-05 14:18:02 -06:00
Adam Reese
8272360681
Merge pull request #2476 from adamreese/fix/flag-envars
...
fix(helm): fix race conditions in flag parsing
2017-06-05 12:45:26 -07:00
Matt Butcher
3647e60786
Merge pull request #2512 from technosophos/fix/2510-missing-url-prefix
...
fix(helm): prepend repo URL to packages missing scheme
2017-06-05 13:36:08 -06:00
Matt Butcher
8f3c2d5e18
Merge pull request #2511 from technosophos/fix/2452-predictable-template-order
...
fix(2452): sort templates before parse
2017-06-05 12:57:44 -06:00
devinyan
d3b14db325
adjust the check parameter order for uninstall
2017-06-03 10:17:30 +08:00
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
2017-06-01 22:17:14 -07:00
Seth Goings
da383b35e5
Merge pull request #2518 from sgoings/fixup-plugin-install-grammar
...
fix(plugins): exists --> exist
2017-05-31 10:11:44 -06:00
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.
2017-05-31 00:32:11 -07:00
Taylor Thomas
b71bd6a455
Merge pull request #2513 from thomastaylor312/feat/moar_logging
...
feat(tiller): Adds more logging
2017-05-30 18:38:49 -07:00
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
2017-05-30 18:17:22 -07:00
Seth Goings
e7a51d5424
fix(plugins): exists --> exist
2017-05-30 09:57:20 -06:00
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
2017-05-29 17:58:27 -07:00
Lukas Eichler
9cd9fc47df
removed debug file
2017-05-28 11:43:13 +02:00
Lukas Eichler
439f1b31d1
Added unit test for include in tpl function
2017-05-28 10:55:15 +02:00
Lukas Eichler
ce8e8d6778
Added storage of parsed templates in engine
2017-05-28 08:35:18 +02:00
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
2017-05-26 18:01:49 -06:00
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
2017-05-26 17:55:11 -06:00
peay
a9fa9282e1
Add --force to upgrade and rollback (generated changes)
2017-05-26 17:07:13 -04:00
peay
0f26cc5522
Add --force to upgrade and rollback
2017-05-26 17:04:57 -04:00
Taylor Thomas
7a49e5c3e1
Merge pull request #2500 from sushilkm/issues/2488
...
Check existence of $HELM_HOME/plugins before installing plugin
2017-05-25 21:48:54 -07:00
Taylor Thomas
7dd6eb22f7
Merge pull request #2486 from sushilkm/issues/2383
...
Adds alias for dependencies
2017-05-25 21:37:39 -07:00
Sushil Kumar
a6556b4982
Check existence of $HELM_HOME/plugins before installing plugin
...
Fixes https://github.com/kubernetes/helm/issues/2488
2017-05-25 15:04:10 -07:00
Sushil Kumar
42aa81e7ca
Added tests for alias(es) for chart dependencies
2017-05-25 14:18:32 -07:00
Sushil Kumar
34f9c67e04
Shallow copy existing chart details
2017-05-25 10:45:18 -07:00
tyrannasaurusbanks
b4fc1c7cb2
Add check to ensure helm doesnt 'wait' for external services to become 'ready'
2017-05-25 17:21:32 +01:00
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
2017-05-24 11:40:41 -06:00