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>
6 years ago
Adam Reese
825b15c763
Merge pull request #4972 from adamreese/ref/chart-dependencies
...
ref(pkg/chart): rename Requirements to Dependencies
6 years ago
Adam Reese
85aef0d3d7
ref(pkg/chart): rename Requirements to Dependencies
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
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>
6 years ago
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>
6 years ago
Adam Reese
9e1e26f01e
ref(pkg/chartutil): attempt to make requirements processing readable
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
f5b6ff2832
ref(pkg/chart): rename files to be consistent with types
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
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>
6 years ago
Adam Reese
3b0ba0f71e
ref(tests): remove broken symlinks in testdata
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
b4ed1de6b8
ref(*): kubernetes v1.12 support
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matt Butcher
9fda187647
fix(tests): set mock to generate UTC timestamps ( #4716 )
...
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
6 years ago
Adam Reese
3be0d81da7
ref(driver): refactor out function type errors
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
21259507bd
ref(*): rename requirements.lock to Chart.lock
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
f7a7a157ce
ref(*): merge requirement.yaml into Chart.yaml
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
516c53dae6
ref(chart): use map for chart.Values
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
4f26b658d8
change copyright to "Copyright The Helm Authors"
6 years ago
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
6 years ago
Adam Reese
7423eddf21
ref(*): kubernetes v1.11 support
6 years ago
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.
6 years ago
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.
6 years ago
Adam Reese
a02a598c33
ref(tests): simplify cmd test setup/teardown
...
Ensure proper cleanup of `HELM_HOME` and `HELM_DEBUG`
6 years ago
Adam Reese
b1128abf4f
ref(*): s/tiller/helm/
6 years ago
Adam Reese
726e3c41be
feat(*): print stacktrace on error with debug enabled
6 years ago
Adam Reese
75c4df0b56
ref(tests): use golden files for testing command output
6 years ago
Adam Reese
36e034551f
ref(*): rebuild build version object
6 years ago
Adam Reese
03ea683b9a
ref(pkg/tiller): add flag to enable tilling logging in tests
...
`go test ./pkg/tiller -test.log`
6 years ago
Adam Reese
3b9596c6ab
ref(*): convert const types to strings
6 years ago
Adam Reese
c50813af54
ref(*): remove local repository (dead code)
6 years ago
Adam Reese
3c27143291
fix(kube): output internal object table
...
fixes #3937
6 years ago
Adam Reese
1a508ccdd1
ref(*): move kubeconfig flags to helm/environment
6 years ago
Adam Reese
2a97768b5c
ref(pkg/tiller): flatten package structure for storage
6 years ago
Adam Reese
05da851eb9
fix(hapi): typo in struct json tags
6 years ago
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
6 years ago
Adam Reese
c19a4ec704
fix(tests): fix race in releasetesting test
6 years ago
Adam Reese
9aa398a7c5
chore(hapi): add missing license headers
6 years ago
Adam Reese
29e772f631
ref(*): replace TillerVersion with HelmVersion
6 years ago
Adam Reese
4c95185164
ref(*): replace chart.config with []byte
6 years ago
Adam Reese
1e2e65ce54
ref(pkg/releasetesting): simplify test setup
6 years ago
Adam Reese
c5151fb7b3
ref(*): cleanup timestamps in tests
6 years ago
Adam Reese
c5a76deba3
ref(*): use go conventions for naming types
6 years ago
Adam Reese
36536d77ba
ref(*): remove protobuf any type
6 years ago
Adam Reese
91a6ebfed5
ref(*): remove protobuf timestamps
6 years ago
Adam Reese
6345f04190
ref(hapi): convert protobuf to go types
6 years ago
Adam Reese
c233336079
ref(pkg/kube): simplify creating versioned objects
6 years ago
Adam Reese
a78aff8d39
ref(*): improve initializing helm clients
6 years ago
Adam Reese
68c0b6a24a
ref(proto): remove unused protobufs
6 years ago
Adam Reese
883371b8ce
ref(pkg/tiller): simplify exported methods
6 years ago
Adam Reese
7f6fa70a91
ref(*): remove grpc
6 years ago
Adam Reese
8f58c9efdc
ref(*): refactor release testing
6 years ago
Adam Reese
358746fee6
ref(*): remove HELM_HOST
6 years ago