Commit graph

563 commits

Author SHA1 Message Date
Justin Scott
fe864ad699 feat(helm): remove logging of tags/condition warnings to pass ci 2017-02-11 12:56:43 -08:00
Justin Scott
58c8aca1cc feat(helm): fixup if/ele,remove extra string casts, add comments 2017-02-11 12:56:43 -08:00
Justin Scott
004c5bcc88 feat(helm): fix condition when no requirements.yaml exists during tag/condition processing 2017-02-11 12:56:43 -08:00
Justin Scott
faae1f68b6 feat(helm): Check len of correct slice 2017-02-11 12:56:43 -08:00
Justin Scott
8ef733ca7d feat(helm): add conditions and tags
This feature adds the ability to selectively control the loading of charts using entries in top chart's values.
When 'helm install --set tags.mytag=true', charts with that tag will be enabled unless disabled in parent by condition.
When 'helm install --set mychart.enabled=true', charts with that yaml path specified will be enabled.

Closes #1837
2017-02-11 12:56:43 -08:00
Adam Reese
67fc1a21aa feat(kube): support upgrading ThirdPartyResources 2017-02-10 14:49:33 -08:00
Adam Reese
f55a43553c Merge pull request #1942 from adamreese/ref/kube-cleanup
ref(kube): code style cleanup
2017-02-10 14:23:44 -08:00
Matt Butcher
5d6aeac613 Merge pull request #1938 from nokia/move-to-pkg
Fixes #1898: Proposal: move downloader and resolver package to /pkg
2017-02-10 14:17:45 -07:00
Adam Reese
ae9691910d ref(kube): code style cleanup 2017-02-10 12:43:29 -08:00
Adam Reese
0f461ba8b5 feat(kube): use jsonpatch to update ThirdPartyResources 2017-02-10 11:46:04 -08:00
Adam Reese
4cdb2ac538 feat(kube): support thirdpartyresources 2017-02-10 11:22:42 -08:00
Gergo Huszty
a32f71c735 Merge branch 'master' of https://github.com/kubernetes/helm into move-to-pkg 2017-02-10 14:10:46 +00:00
Gergo Huszty
17c9e220b0 Fixes #1898: Proposal: move downloader and resolver package to /pkg 2017-02-10 10:33:02 +00:00
Taylor Thomas
7bdd36bbba fix(*): Regenerates protobuf files for protobuf 3.2
Protobuf 3.2 was recently released and generates a slightly different
file from the protobuf definitions. These were all changes to the
autogenerated byte array.
2017-02-09 10:43:26 -08:00
Matt Butcher
ed7bb41973 Merge pull request #1928 from vdice/add-last-test-suite-run-to-status
feat(cmd/helm/status): add last test suite run to status output
2017-02-08 15:30:00 -07:00
Taylor Thomas
977ceb9b5f Merge pull request #1882 from bacongobbler/1712-portforwarder
move newTillerPortForwarder to pkg/helm/portforwarder
2017-02-08 10:35:50 -08:00
Vaughn Dice
140caa081b
feat(cmd/helm/status): add last test suite run to status output 2017-02-08 09:54:25 -07:00
Michelle Noorali
c7e2d186a5 Merge pull request #1777 from michelleN/feat/1163-chart-testing
feat(*): add helm test initial framework
2017-02-08 09:28:32 -05:00
Michelle Noorali
4896ea7cf5 chore(pkg/tiller): add logs on RunReleaseTesting 2017-02-07 10:24:26 -05:00
Michelle Noorali
538e8297ef ref(*): add namespace info to failing test msg
* also cleanup comments
2017-02-06 10:39:57 -05:00
Adam Reese
fd210dfd30 ref(hapi): remove never used proto field 2017-02-02 19:45:13 -08:00
Matthew Fisher
704bc47225 move newTillerPortForwarder to pkg/helm/portforwarder 2017-02-02 15:28:42 -08:00
Michelle Noorali
bf9ae52e1c ref(*): change test hook to be test-success 2017-02-02 12:23:52 -05:00
Michelle Noorali
e95a0570ad chore(pkg/releasetesting): add test_suite tests
* and comments
2017-02-02 11:57:11 -05:00
Matthew Fisher
3f463783a5 add PersistentVolumeClaim to the kind sorter list
At the present time, PersistentVolumeClaims are not a recognized object so it is installed last.
PVCs should be installed shortly after PersistentVolumes have been bound.
2017-02-02 08:32:29 -08:00
Michelle Noorali
e132191275 ref(pkg/): refactor helm test logic
pulled logic out in pkg/releasetesting
2017-02-01 10:55:58 -05:00
Vaughn Dice
9bd12953a9 feat(*): add kube client test
* for WaitAndGetCompletedPodPhase
2017-01-31 20:57:28 -05:00
Michelle Noorali
58c05f87d7 feat(*): stream helm test messages to client 2017-01-31 20:57:28 -05:00
Michelle Noorali
d46d63a8f7 feat(*): add helm test command mvp
* This is a simple mvp which processes a test definition with the
hook annotation for test when you run `helm test [release]`
* helm client cmd, proto def, tiller logic
2017-01-31 20:57:27 -05:00
Matt Butcher
756cb970bd
feat(tiller): record a message for each lifecycle step
This adds a simple description for each lifecycle step on a release
object.

Closes #1661
2017-01-31 16:26:35 -07:00
Taylor Thomas
e440a36d95 Merge pull request #1820 from thomastaylor312/feat/add_wait
feat(*): Add --wait flag
2017-01-26 11:40:39 -08:00
Matthew Fisher
dad40fcbe0 add InstallReleaseFromChart and UpdateReleaseFromChart
When using pkg/helm as a third party client, I am using chartutil.LoadArchive()
to load a chart from an io.Reader. After that is loaded I wish to install/update that
chart, however InstallRelease and UpdateRelease only accepts a path rather than
something of type *chart.Chart. This adds a new function called InstallReleaseFromChart
which allows one to load a chart separate from the path, then install said chart.
2017-01-23 15:39:03 -08:00
Taylor Thomas
7ef9bb6f71 feat(*): Add --wait flag
Adds `--wait` flag to helm that waits for all pods to reach a ready
state, PVCs to be bound, and services to have IP addresses

Closes #1805
2017-01-19 18:10:28 -08:00
Adam Reese
de64da2bb1 ref(kube): misc code cleanup 2017-01-19 10:26:28 -07:00
Adam Reese
9dae8eca3d Merge pull request #1825 from adamreese/fix/upgrade-reaper
fix(kube): reap deleted resources during upgrade
2017-01-19 10:21:38 -07:00
Matt Butcher
9652651ba9 Merge pull request #1814 from technosophos/feat/1569-reset-values
feat(helm): add --reset-values flag to 'helm upgrade'
2017-01-19 10:18:43 -07:00
z00358552
b0d4cacd54 fix(helm) change name length limit to 63 for helm create
since kubernetes 1.4, the upper limit for resource name is 63 characters,
so it is better to change the template when running `helm create` accordingly.
2017-01-17 15:51:31 +08:00
Adam Reese
9e37009467 fix(kube): reap deleted resources during upgrade 2017-01-13 14:30:53 -08:00
Adam Reese
5a33f462ef Merge pull request #1823 from adamreese/ref/kube-manifest
ref(kube): add Result to abstract a collection of resources
2017-01-13 14:26:55 -08:00
Adam Reese
b22e6fcfaa ref(kube): add Result to abstract a collection of resources 2017-01-13 12:41:21 -08:00
Ferran Rodenas
088c2bd233 Linter validations for Chart icon property 2017-01-12 15:21:10 +01:00
Lachlan Evenson
4d5cf66308
removed Version from create tests as output schema and values aren't tested 2017-01-11 12:22:21 -08:00
Lachlan Evenson
2e0f949d49
bugfix(tiller): replace + with - in Chart version to support Kubernetes constraint 2017-01-11 11:21:14 -08:00
José Armesto
0059d5a3df Logging real name of the failing hook 2017-01-11 17:15:41 +01:00
Matt Butcher
c32b2ddcdf
feat(helm): add --reset-values flag to 'helm upgrade'
The --reset-values flag on upgrade instructs Tiller to reset the
upgraded release to the chart's built-in values.yaml, and ignore the
last install's overridden values.

Closes #1569
2017-01-10 18:56:14 -07:00
Matt Butcher
6d6e88a86e Merge pull request #1766 from gravitational/http-client-tls
Http client with TLS
2017-01-10 13:28:01 -07:00
Adam Reese
3e44f87c59 Merge pull request #1808 from adamreese/fix/missing-name
fix(tiller): add missing name to status response
2017-01-10 11:57:41 -08:00
Adam Reese
881153cc39 Merge pull request #1812 from adamreese/fix/1807-purge-error
fix(tiller): don't update purged releases
2017-01-10 11:57:27 -08:00
Adam Reese
6600fcb0e6 fix(tiller): don't update purged releases
fixes #1807
2017-01-10 11:40:23 -08:00
Adam Reese
0e7781c443 fix(tiller): add missing name to status response 2017-01-10 11:16:54 -08:00