Matt Butcher
9fe7f41364
feat(972): add --reuse-name flag to helm install
...
This will allow helm install to re-use names for releases that were
already deleted.
9 years ago
Matt Butcher
95dbefe06d
fix(tiller): remove partials and empty manifests
...
This removes partials and empty manifests during the sortHooks
operation. Doing so makes sortHooks the defacto place for sorting
manifests, hooks, and partials.
Closes #991
9 years ago
Michelle Noorali
6006fc7b21
Merge pull request #963 from michelleN/feat/690-helm-upgrade
...
feat(*): add upgrade command and validations
9 years ago
Matt Butcher
b5354180f6
Merge pull request #984 from GrantSeltzer/inspect-chart-or-values-options
...
Add subcommands to inspect only chart or values
9 years ago
Adam Reese
fa67287ac4
Merge pull request #986 from adamreese/fix/validate-running-tiller
...
fix(cmd): ensure tiller is running for connection
9 years ago
Matt Butcher
82797ae28c
Merge pull request #974 from technosophos/fix/971-inherit-passed-values
...
fix(tiller): merge -f values correctly
9 years ago
Michelle Noorali
62667e9f12
ref(tiller): fix chart version comparison
9 years ago
Michelle Noorali
f74720613b
chore(helm): add client test for upgrade cmd
...
I edited releaseMock as part of this PR
9 years ago
Michelle Noorali
36699cc22d
ref(helm): refactor cmd/upgrade for unit testing
9 years ago
Michelle Noorali
0fcd7fccea
feat(tiller): add upgrade validations to tiller
9 years ago
Michelle Noorali
5e654c0380
feat(*): get helm & tiller chatting about upgrades
9 years ago
Michelle Noorali
35bf1c66b4
feat(helm): add helm upgrade command
9 years ago
Grantseltzer
23421f9133
Add subcommands to specify only chart or values inspected
...
Signed-off-by: Grantseltzer <grantseltzer@gmail.com>
9 years ago
Adam Reese
49491a8a0a
fix(cmd): ensure tiller is running for connection
...
Fixes: https://github.com/kubernetes/helm/issues/981
9 years ago
Matt Butcher
37fd3e412b
Merge pull request #982 from technosophos/feat/944-command-line-values
...
feat(helm): support command-line values for install
9 years ago
Matt Butcher
76d8004abd
Merge pull request #979 from technosophos/fix/improved-delete-errors
...
fix(tiller): improve deletion error messages
9 years ago
Adam Reese
fcaa426491
chore(*): add missing license blocks to source code
9 years ago
Matt Butcher
4b6fbbb67f
feat(helm): support command-line values for install
...
Add support for specifying key/value pairs on the command line, instead
of only in a YAML file.
This currently accepts either command line pairs or a YAML file, but
does not support combining the two.
Closes #944
9 years ago
Matt Butcher
8119513cdd
fix(tiller): improve deletion error messages
...
This stops a repeat deletion from sending requests all the way to
Kubernetes, and gives a clear error message when a deletion is requested
on an already deleted resource.
Relates to #972
9 years ago
Matt Butcher
1c598c2d13
Merge pull request #964 from technosophos/fix/957-template-name-on-failure
...
fix(tiller): provide filename when YAML is bad
9 years ago
Matt Butcher
9d5fdbdaaa
Merge pull request #970 from technosophos/feat/967-helm-inspect
...
feat(helm): add 'helm inspect'
9 years ago
Matt Butcher
57fecb2735
fix(tiller): provide filename when YAML is bad
...
This makes the template system less tolerant in the name of detecting
YAML parse errors before things are sent to Kubernetes. It returns a
more detailed error message when a template creates a manifest which is
not valid YAML.
Closes #957
9 years ago
Matt Butcher
c5cc02a611
feat(helm): add 'helm inspect'
...
This basic version of helm inspect displays the Chart.yaml and
values.yaml files on STDOUT.
Closes #967
9 years ago
Matt Butcher
95eeba3805
fix(tiller): merge -f values correctly
...
This fixes a bug in which passed-in values files were not correctly
merged into the chart's default values YAML data. I believe it also
fixes some other prioritization bugs in values merging.
The existing unit test was wrong (see TestCoalesceValues). It is
fixed now. Also added more tests to simulate issue #971 .
In the course of writing this, I removed some vestigial code as
mentioned in #920 .
Closes #971
Closes #920
9 years ago
Adam Reese
57bd8b2c28
feat(*): install releases into namespace
9 years ago
Matt Butcher
a0bc510662
Merge pull request #955 from technosophos/feat/932-disable-hooks
...
feat(helm): add --no-hook to helm install and delete
9 years ago
Matt Butcher
1ff5499be7
feat(helm): add --no-hooks to 'helm delete'
...
This also adds several tests, cleanups to the API, and removal of dead
code.
Relates to #932
9 years ago
Michelle Noorali
80a7339e2f
Merge pull request #947 from ngtuna/master
...
Fix #872 : index function should handle deleted charts correctly
9 years ago
Matt Butcher
a42b43a9fa
feat(helm): add --no-hook to helm install
...
This includes a substantial bit of unit test improvements. Also, in
order to allow us to tests command line args (which translate to
helm.Option objects), I had to add a new interface to pkg/helm.
9 years ago
Adam Reese
0ceeb19ded
ref(cmd): refactor status cmd
9 years ago
Adam Reese
b6b9a4e04d
Merge pull request #952 from adamreese/ref/create-command
...
ref(cmd): refactor create cmd
9 years ago
Adam Reese
736009982e
ref(helm): fix naming issues from golint
9 years ago
Adam Reese
4dd95addd2
ref(cmd): refactor create cmd
9 years ago
Adam Reese
0d7cb4ac83
Merge pull request #945 from adamreese/ref/remove-dup-test
...
ref(cmd): remove duplicate test cases
9 years ago
ngtuna
90192b4b2e
fix(helm): helm search should only display only those charts with a remove boolean that is set to false
9 years ago
Adam Reese
a14e76a65c
chore(*): add canonical import path annotation
...
https://golang.org/doc/go1.4#canonicalimports
9 years ago
Adam Reese
71fa7ecb9b
ref(cmd): remove duplicate test cases
9 years ago
Matt Butcher
1cd9f5d541
feat(helm): add 'helm get hooks'.
...
This adds 'helm get hooks' and updates 'helm get' to return
hook information.
9 years ago
Matt Butcher
73a2890277
fix(engine): change template naming
...
Template paths were relative to the chart that contained them, which
meant that all templates were named 'template/SOMETHING'. This made it
trivially easy to hit namespace collisions as in #933 .
Template path names are essentially opaque strings so this patch simply
changes them to be qualified by parent chart.
9 years ago
Michelle Noorali
15b428d450
feat(*): add version to release
...
laying ground work for #690
9 years ago
Matt Butcher
e91bbceff2
Merge pull request #916 from technosophos/feat/901-hooks
...
feat(tiller): support hooks for install
9 years ago
Matt Butcher
ff32062ae8
feat(tiller): support hooks for install
9 years ago
Adnan Abdulhussein
631ca63040
Merge pull request #922 from prydonius/feat/836-lint-multiple-charts
...
feat(lint): support linting multiple charts
9 years ago
Adnan Abdulhussein
a4458085ab
fix(lint): fix tests
9 years ago
Adnan Abdulhussein
dda61f6074
fix(lint): only return count of actually linted charts
9 years ago
Adnan Abdulhussein
f3e754794e
fix(lint): print relative path of packaged chart instead of temp dir
9 years ago
Adnan Abdulhussein
f273510c97
fix(lint): fix golint errors
9 years ago
Adam Reese
37cf2b9e7d
ref(tests): simplify creating fake client
9 years ago
Adam Reese
4db6cd93bb
fix(test): match output using regexp
9 years ago
Adnan Abdulhussein
03ca4e892f
feat(lint): support linting multiple charts
9 years ago