Commit graph

1128 commits

Author SHA1 Message Date
derkoe
6e1b45888a feat(cmd/helm): re-add --history-max option to v3
Since there is no tiller anymore this option make most sense with the
'helm upgrade' commando.
Origininally this was added in PR #2636 implementing the feature #2081.

Signed-off-by: Christian Koeberl <christian.koeberl@gmail.com>
2018-12-17 11:15:55 +01:00
Adam Reese
2b81eea1e2
ref(*): replace byte array with map for Release config
Signed-off-by: Adam Reese <adam@reese.io>
2018-12-04 15:57:24 -08:00
Adam Reese
6fc8c9e079
ref(pkg/chartutil): simplify chart dependency unit tests
- simplify unit tests
- refactor typed errors
- unexport internal functions

Signed-off-by: Adam Reese <adam@reese.io>
2018-11-29 10:30:52 -08:00
Adam Reese
825b15c763
Merge pull request #4972 from adamreese/ref/chart-dependencies
ref(pkg/chart): rename Requirements to Dependencies
2018-11-28 10:55:08 -08:00
Adam Reese
85aef0d3d7
ref(pkg/chart): rename Requirements to Dependencies
Signed-off-by: Adam Reese <adam@reese.io>
2018-11-28 10:20:33 -08:00
roc
79f88dfc5e ref(url) update helm's github url (#4962)
https://github.com/kubernetes/helm -> https://github.com/helm/helm
https://github.com/kubernetes/charts -> https://github.com/helm/charts

Signed-off-by: Roc Chan <roc@imroc.io>
2018-11-28 10:08:38 -08:00
roc
212d326a34 ref(pkg/repo): rename RepoFile to File
To resolve the linter warning: name start with package name.

Signed-off-by: Roc <roc@imroc.io>
2018-11-20 19:58:35 +08:00
Adam Reese
9e1e26f01e
ref(pkg/chartutil): attempt to make requirements processing readable
Signed-off-by: Adam Reese <adam@reese.io>
2018-11-14 12:41:14 -08:00
Adam Reese
f5b6ff2832
ref(pkg/chart): rename files to be consistent with types
Signed-off-by: Adam Reese <adam@reese.io>
2018-11-14 11:05:14 -08:00
Matt Butcher
7061716406
ref: require name by default on 'helm install' (#4858)
This is described in the official Helm 3 proposal: https://github.com/helm/community/blob/master/helm-v3/000-helm-v3.md

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2018-10-31 16:15:08 -06:00
Adam Reese
3b0ba0f71e
ref(tests): remove broken symlinks in testdata
Signed-off-by: Adam Reese <adam@reese.io>
2018-10-18 10:35:15 -07:00
Adam Reese
b4ed1de6b8
ref(*): kubernetes v1.12 support
Signed-off-by: Adam Reese <adam@reese.io>
2018-10-17 12:53:10 -07:00
Matt Butcher
9fda187647
fix(tests): set mock to generate UTC timestamps (#4716)
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2018-09-28 11:27:56 -06:00
Adam Reese
3be0d81da7
ref(driver): refactor out function type errors
Signed-off-by: Adam Reese <adam@reese.io>
2018-09-10 20:20:32 -07:00
Adam Reese
21259507bd
ref(*): rename requirements.lock to Chart.lock
Signed-off-by: Adam Reese <adam@reese.io>
2018-08-29 14:43:37 -07:00
Adam Reese
f7a7a157ce
ref(*): merge requirement.yaml into Chart.yaml
Signed-off-by: Adam Reese <adam@reese.io>
2018-08-29 14:05:37 -07:00
Adam Reese
516c53dae6
ref(chart): use map for chart.Values
Signed-off-by: Adam Reese <adam@reese.io>
2018-08-29 09:56:19 -07:00
Adam Reese
4f26b658d8
change copyright to "Copyright The Helm Authors" 2018-08-24 12:03:55 -07:00
Adam Reese
f012940d9c
ref(*): refactor chart/chartutil
ref(chartutil): move chart loading out of chartutil into new package
    add chart loader interface to allow lazy loading
feat(chart): create chart accessors
ref(*): cleanup requirements
ref(tiller): remove optional template engines
ref(tiller): simplify sorting releases and hooks
ref(*): code simplification
ref(hapi): move chart package out of hapi
ref(chart): add requirements and lock to Chart struct
2018-08-24 11:28:29 -07:00
Adam Reese
7423eddf21
ref(*): kubernetes v1.11 support 2018-08-22 09:51:19 -07:00
Matthew Fisher
195d21d5d7
ref(cmd): rename helm delete to helm uninstall
To match the convention of `helm install`, `helm uninstall` is the inverse.

Other tangential changes in this PR:

- StatusDeleting has been changed to StatusUninstalling
- StatusDeleted has been changed to StatusUninstalled
- `helm list --deleted` has been changed to `helm list --uninstalled`
- `helm list --deleting` has been changed to `helm list --uninstalling`
- `helm.DeleteOption` and all delete options have been renamed to `helm.UninstallOption`

I have not made any changes to the "helm.sh/hook-delete-policy", "pre-delete" and "post-delete" hook annotations because

1. it's a major breaking change to existing helm charts, which we've commited to NOT break in Helm 3
2. there is no "helm.sh/hook-install-policy" to pair with "helm.sh/hook-uninstall-policy", so delete still makes sense here

`helm delete` and `helm del` have been added as aliases to `helm uninstall`, so `helm delete` and `helm del` still works as is.
2018-06-14 15:46:00 -07:00
Adam Reese
aa859e3f88
feat(*): remove Time, Namespace, and Revision from template functions
Removes Time, Namespace, and Revision from being exposed to templates to
make template rendering discrete and repeatable.
2018-05-18 12:09:54 -07:00
Adam Reese
a02a598c33
ref(tests): simplify cmd test setup/teardown
Ensure proper cleanup of `HELM_HOME` and `HELM_DEBUG`
2018-05-14 09:23:21 -07:00
Adam Reese
b1128abf4f
ref(*): s/tiller/helm/ 2018-05-10 09:41:31 -07:00
Adam Reese
726e3c41be
feat(*): print stacktrace on error with debug enabled 2018-05-10 09:34:41 -07:00
Adam Reese
75c4df0b56
ref(tests): use golden files for testing command output 2018-05-09 08:37:20 -07:00
Adam Reese
36e034551f
ref(*): rebuild build version object 2018-05-02 15:26:26 -07:00
Adam Reese
03ea683b9a
ref(pkg/tiller): add flag to enable tilling logging in tests
`go test ./pkg/tiller -test.log`
2018-04-27 15:37:06 -07:00
Adam Reese
3b9596c6ab
ref(*): convert const types to strings 2018-04-26 16:52:31 -07:00
Adam Reese
c50813af54
ref(*): remove local repository (dead code) 2018-04-25 09:35:29 -07:00
Adam Reese
3c27143291
fix(kube): output internal object table
fixes #3937
2018-04-23 22:23:38 -07:00
Adam Reese
1a508ccdd1
ref(*): move kubeconfig flags to helm/environment 2018-04-23 12:05:45 -07:00
Adam Reese
2a97768b5c
ref(pkg/tiller): flatten package structure for storage 2018-04-23 09:48:07 -07:00
Adam Reese
05da851eb9
fix(hapi): typo in struct json tags 2018-04-23 09:48:07 -07:00
Adam Reese
19398a2ef1
feat(*): store release History in same namespace as release
https://github.com/kubernetes-helm/community/blob/master/helm-v3/003-state.md#namespacing-changes
2018-04-23 09:48:07 -07:00
Adam Reese
c19a4ec704
fix(tests): fix race in releasetesting test 2018-04-20 11:35:35 -07:00
Adam Reese
9aa398a7c5
chore(hapi): add missing license headers 2018-04-20 00:59:46 -07:00
Adam Reese
29e772f631
ref(*): replace TillerVersion with HelmVersion 2018-04-20 00:37:34 -07:00
Adam Reese
4c95185164
ref(*): replace chart.config with []byte 2018-04-20 00:13:19 -07:00
Adam Reese
1e2e65ce54
ref(pkg/releasetesting): simplify test setup 2018-04-19 12:43:31 -07:00
Adam Reese
c5151fb7b3
ref(*): cleanup timestamps in tests 2018-04-19 11:12:50 -07:00
Adam Reese
c5a76deba3
ref(*): use go conventions for naming types 2018-04-19 11:12:46 -07:00
Adam Reese
36536d77ba
ref(*): remove protobuf any type 2018-04-18 16:28:50 -07:00
Adam Reese
91a6ebfed5
ref(*): remove protobuf timestamps 2018-04-18 15:35:37 -07:00
Adam Reese
6345f04190
ref(hapi): convert protobuf to go types 2018-04-18 14:53:38 -07:00
Adam Reese
c233336079
ref(pkg/kube): simplify creating versioned objects 2018-04-18 09:24:16 -07:00
Adam Reese
a78aff8d39
ref(*): improve initializing helm clients 2018-04-17 14:13:00 -07:00
Adam Reese
68c0b6a24a
ref(proto): remove unused protobufs 2018-04-17 10:17:42 -07:00
Adam Reese
883371b8ce
ref(pkg/tiller): simplify exported methods 2018-04-17 00:15:18 -07:00
Adam Reese
7f6fa70a91
ref(*): remove grpc 2018-04-16 23:16:43 -07:00