Commit graph

448 commits

Author SHA1 Message Date
Adam Reese
36ec1901eb Merge pull request #1316 from adamreese/ref/linters
ref(scripts): use gometalinter for linters
2016-10-10 15:08:00 -07:00
Matt Butcher
40a55b939f Merge pull request #1325 from technosophos/fix/1301-helm-help-consistency
fix(helm): make 'helm help' text punctuation consistent
2016-10-10 16:06:20 -06:00
Adam Reese
f71230ccd3 fix(*): resolve go linter issues 2016-10-10 14:58:33 -07:00
Matt Butcher
bce805f6bd Merge pull request #1319 from technosophos/ref/1318-remove-old-funcs
ref(helm): remove old structure functions
2016-10-10 14:56:17 -06:00
Matt Butcher
7c096fb2c2 fix(helm): make 'helm help' text punctuation consistent
Closes #1301
2016-10-10 14:55:00 -06:00
Matt Butcher
b9fb8abdbc ref(helm): remove old structure functions
This replaces the old structure functions with the functions in
cmd/helm/helmpath.

Closes #1318
2016-10-10 14:28:29 -06:00
Matt Butcher
4979aa0827 ref(repo): move urlJoin to the right package
I wrote urlJoin to fix URL joining, but I put it in the wrong place and
never used it. This moves it to the right place, and replaces the hacky
previous solution.
2016-10-10 13:50:01 -06:00
Matt Butcher
a85c37f2a4 fix(tiller): correct sort manifests by type
Closes #1313
2016-10-10 12:04:11 -06:00
Matt Butcher
1c6fc9c0e8 feat(helm): remove the requirement that fetch/install need version
This removes the requirement that a fetch or install command must
explicitly state the version number to install. Instead, this goes to
the strategy used by OS package managers: Install the latest until told
to do otherwise.

Closes #1198
2016-10-07 12:25:14 -06:00
Matt Butcher
5600b129ef fix(helm): resolve URLs and SemVers correctly
The original dependency resolution did not correctly resolve version or
URL of a dependency. Version was tracked by filename, and URL was
assumed to be absolute. This fixes both of those.

Closes #1277
2016-10-06 16:07:22 -06:00
Matt Butcher
d2bf6b62f5 Merge pull request #1284 from technosophos/feat/1199-versions-flag
feat(helm): add --versions flag on search
2016-10-06 14:36:40 -06:00
Brian
1bf524b4c2 Merge pull request #1289 from fibonacci1729/fix/history-output
fix(cmd/hist): print revision history with unix synergy
2016-10-06 13:03:41 -06:00
fibonacci1729
00938d2a6d fix(cmd/hist): print revision history with unix synergy 2016-10-06 11:24:38 -06:00
fibonacci1729
0ab6c4f9c6 fix(1246): pull most recent release from history 2016-10-06 10:17:26 -06:00
Brian
c87a902b0c Merge pull request #1274 from fibonacci1729/feat/history
feat(helm/cmd): support for retrieving release history
2016-10-05 18:43:16 -06:00
fibonacci1729
e9dd302a9c feat(helm/cmd): support for retrieving release history 2016-10-05 17:53:55 -06:00
Matt Butcher
d0cefeaf82 feat(helm): add --versions flag on search
This causes search to index by name/version instead of just name, which
means you can get a list of versions of a chart. The '--versions' flag
enables this behavior.

Partially fixes #1199
2016-10-05 15:49:56 -06:00
Matt Butcher
ea66d66d2d Merge pull request #1282 from technosophos/fix/1265-auto-update-index
fix(repo): auto-update index file formats
2016-10-05 14:41:40 -06:00
Matt Butcher
a7b4b2674e Merge pull request #1281 from technosophos/fix/1261-search-uitable
fix(helm): fix 'helm search' to use UITable
2016-10-05 14:41:29 -06:00
Matt Butcher
ea0e665f84 fix(repo): auto-update index file formats
This performs a relatively weak in-memory translation of index file
data. It does not, in most cases, write the corrected data to disk, and
it emits a warning directly to STDERR each time it loads a deprecated
index.

Known limitations:

- It cannot recover certain bogus records that earlier alpha releases
  generated (notably, where all chartfile data is missing)
- In some cases, it has to parse a filename to get version info. This is
  lossy.
- Because it takes three passes through the YAML and JSON unmarshal, it
  is not performant.

This feature is transitional and should be removed during the Beta
cycle, prior to the release of 2.0.0.

Closes #1265
2016-10-04 23:20:25 -06:00
Matt Butcher
3e3312cea0 feat(tiller): re-use values during upgrade
When `helm install -f foo.yaml bar` is called, and then the release is
upgraded with `helm upgrade happy-panda bar`, this will now re-use the
values that were submitted with `-f foo.yaml`. The same is true for
values specified with `--set`.

Closes #1227
2016-10-04 21:53:44 -06:00
Matt Butcher
79e5fd6b74 fix(helm): fix 'helm search' to use UITable
Closes #1261
2016-10-04 21:19:52 -06:00
Matt Butcher
96cdbbe6b1 Merge pull request #1275 from technosophos/fix/srv-in-tmp
fix(helm): fix tests so that they do not write data into testdata
2016-10-04 16:16:22 -06:00
Matt Butcher
fc160256e5 fix(helm): fix tests so that they do not write data into testdata
There was a bug in the repo tests that caused them to overwrite the
repositories.yaml file in that directory. Now, the entire tests (server
and client-side) run inside of a temp directory.
2016-10-04 14:57:52 -06:00
Matt Butcher
10eb74abbb Merge pull request #1269 from technosophos/feat/1264-chart-apiversion
fix(chart): Chart.yaml now has an apiVersion field.
2016-10-04 14:30:15 -06:00
Matt Butcher
4f09b05613 feat(helm): implement new index format
This implements a new index file format for repository indices. It also
implements a new format for requirements.yaml.

Breaking change: This will break all previous versions of Helm, and will
impact helm search, repo, serve, and fetch functions.

Closes #1197
2016-10-04 13:54:14 -06:00
Matt Butcher
66e59f63e7 fix(helm): change 'helm update' to 'helm repo update'
The old form is marked deprecated.

Relates to #1196
2016-10-04 12:38:00 -06:00
Matt Butcher
e0227c7510 fix(chart): Chart.yaml now has an apiVersion field.
This is to future-proof charts, and also be consistent with repo and
index YAML files.

Closes #1264
2016-10-04 12:18:22 -06:00
Adam Reese
854f3e0b51 ref(helm): refactor {home,lint,serve} commands 2016-10-03 11:34:49 -07:00
fibonacci1729
9cfbbb34f1 fix(1245): hook up revision flag to helm get {manifest,values,hooks} 2016-09-29 10:36:15 -06:00
Adam Reese
1db7bd649f fix(helm): s/version/revision/ 2016-09-28 15:02:27 -07:00
Adam Reese
5a5a44ec17 feat(*): add rollback to a release version
closes #1244
2016-09-28 14:49:53 -07:00
Adam Reese
becc12008f Merge pull request #1218 from kubernetes/feat/rollback
feat(*): add helm rollback functionality
2016-09-28 10:27:28 -07:00
Matt Butcher
3437e5d6e5 Merge pull request #1234 from prydonius/rename-to-stable
chore(repo): Rename default charts repo to 'stable'
2016-09-27 17:59:25 -06:00
Adam Reese
3f1101cdfb fix(tiller): do not create releases for a dry-run 2016-09-27 16:58:56 -07:00
Matt Butcher
065f178072 Merge pull request #1238 from technosophos/fix/1228-order-manifests
fix(tiller): Order the manifests before sending to k8s
2016-09-27 17:47:59 -06:00
Matt Butcher
65d0c03c0f fix(tiller): Order the manifests before sending to k8s
This orders manifests both for installs and deletes so that the
manifests are ordered by kind.

Closes #1228
2016-09-27 16:50:43 -06:00
Michelle Noorali
ac88aaf218 feat(*): add helm rollback functionality
This feature allows you to rollback release to the
previous version of release.
resolves #1004
2016-09-27 15:39:23 -07:00
Matt Butcher
446d555178 feat(helm): update helm search
Switch 'helm search' from file crawling to using the indices. Also
add scorable indexing, forward porting the search code I originally
wrote for Helm Classic.

Closes #1226
Partially addresses #1199
2016-09-27 14:36:37 -06:00
Matt Butcher
db29c25a2e Merge pull request #1232 from technosophos/feat/1042-upgrade-install
feat(helm): add 'helm upgrade --install' support
2016-09-27 10:30:22 -06:00
Adnan Abdulhussein
90d3a952e9 chore(repo): Rename default charts repo to 'stable' 2016-09-27 12:38:39 +02:00
Matt Butcher
85b70c4881 fix(helm): if server is old, report this in a friendly way
If 'helm version' is run on an old server, it will emit an error telling
you the server is too old.

Closes #1223
2016-09-26 17:48:21 -06:00
Matt Butcher
36e6094c62 feat(helm): add 'helm upgrade --install' support
This makes it possible to run an upgrade that will install a release if
it doesn't already exist.

Closes #1042
2016-09-26 17:25:56 -06:00
Matt Butcher
2d449d3eb0 Merge pull request #1224 from technosophos/feat/long-list
feat(helm): make long listing default for helm list
2016-09-23 17:12:20 -06:00
Matt Butcher
be409d31c5 Merge pull request #1221 from technosophos/feat/helm-dependency-update-2
feat(helm): add requirements.yaml support
2016-09-23 17:12:08 -06:00
Matt Butcher
3a483bcf71 feat(helm): make long listing default for helm list
This removes --long and adds --short,-q

The default listing is now the long listing, which matches the behavior
of all of the other listing commands.

Closes #1215
2016-09-23 16:30:12 -06:00
Matt Butcher
593718d749 feat(helm): add 'helm dependency' commands
This also refactors significant portions of the CLI, moving much of the
shared code into a library.

Also in this release, a testing repository server has been added.
2016-09-23 16:24:22 -06:00
Adam Reese
e0d02e6e5b feat(*): add api version checks 2016-09-23 14:48:19 -07:00
Matt Butcher
a5921faf99 feat(chartutils): add support for requirements.yaml 2016-09-23 14:57:56 -06:00
Michelle Noorali
bad0059242 ref(helm): display repo remove confirmation text 2016-09-19 13:42:31 -05:00