Michelle Noorali
70b9f11a03
feat(*): add disable hooks flag to `helm upgrade`
8 years ago
Michelle Noorali
8be3a34ac6
feat(tiller): add update logic to release server
8 years ago
Matt Butcher
cc2c1d9393
Merge pull request #1025 from technosophos/fix/1024-missing-values
...
fix(helm): fix inspect command to not panic
8 years ago
Michelle Noorali
f600b30c7a
feat(kube): add update logic to kube client
...
This commit adds an Update function to the client.
The Update function takes in the modified manifests and
the original manifests. It then iterates through the modified
objects, creates objects not found in kubernetes, and updates
objects that exists but have been modified. Finally, it
iterates through the original resources and checks to see if
they have been deleted in the modified configuration and then
proceeds to delete them. #690
8 years ago
Matt Butcher
b009bf7dc4
fix(helm): fix inspect command to not panic
...
Helm can now inspect a chart if the values.yaml file is not present or
is empty.
8 years ago
Miguel Ángel Martínez Triviño
2521ce7bc2
Merge pull request #1019 from ebraminio/strictflag
...
Add a strict flag to helm lint
8 years ago
Ville Aikas
1d718d7939
Merge pull request #1015 from vaikas-google/master
...
Add name-template flag for installation that allows the user to speci…
8 years ago
Ebrahim Byagowi
107821f9ec
Add a strict flag to helm lint
8 years ago
vaikas-google
d42dbd3538
address code review comments. use text/template instead of html/template
8 years ago
Matt Butcher
603bb20ed4
Merge pull request #1014 from technosophos/fix/1010-reuse-name-replace
...
fix(helm): rename --reuse-name to --replace
8 years ago
vaikas-google
01a598f531
Add name-template flag for installation that allows the user to specify a template used for release name generation
8 years ago
Adam Reese
39ba728b6f
ref(cmd): refactor init command
8 years ago
Matt Butcher
4593111892
fix(helm): rename --reuse-name to --replace
...
Closes #1010
8 years ago
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.
8 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
8 years ago
Michelle Noorali
6006fc7b21
Merge pull request #963 from michelleN/feat/690-helm-upgrade
...
feat(*): add upgrade command and validations
8 years ago
Matt Butcher
b5354180f6
Merge pull request #984 from GrantSeltzer/inspect-chart-or-values-options
...
Add subcommands to inspect only chart or values
8 years ago
Adam Reese
fa67287ac4
Merge pull request #986 from adamreese/fix/validate-running-tiller
...
fix(cmd): ensure tiller is running for connection
8 years ago
Matt Butcher
82797ae28c
Merge pull request #974 from technosophos/fix/971-inherit-passed-values
...
fix(tiller): merge -f values correctly
8 years ago
Michelle Noorali
62667e9f12
ref(tiller): fix chart version comparison
8 years ago
Michelle Noorali
f74720613b
chore(helm): add client test for upgrade cmd
...
I edited releaseMock as part of this PR
8 years ago
Michelle Noorali
36699cc22d
ref(helm): refactor cmd/upgrade for unit testing
8 years ago
Michelle Noorali
0fcd7fccea
feat(tiller): add upgrade validations to tiller
8 years ago
Michelle Noorali
5e654c0380
feat(*): get helm & tiller chatting about upgrades
8 years ago
Michelle Noorali
35bf1c66b4
feat(helm): add helm upgrade command
8 years ago
Grantseltzer
23421f9133
Add subcommands to specify only chart or values inspected
...
Signed-off-by: Grantseltzer <grantseltzer@gmail.com>
8 years ago
Adam Reese
49491a8a0a
fix(cmd): ensure tiller is running for connection
...
Fixes: https://github.com/kubernetes/helm/issues/981
8 years ago
Matt Butcher
37fd3e412b
Merge pull request #982 from technosophos/feat/944-command-line-values
...
feat(helm): support command-line values for install
8 years ago
Matt Butcher
76d8004abd
Merge pull request #979 from technosophos/fix/improved-delete-errors
...
fix(tiller): improve deletion error messages
8 years ago
Adam Reese
fcaa426491
chore(*): add missing license blocks to source code
8 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
8 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
8 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
8 years ago
Matt Butcher
9d5fdbdaaa
Merge pull request #970 from technosophos/feat/967-helm-inspect
...
feat(helm): add 'helm inspect'
8 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
8 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
8 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
8 years ago
Adam Reese
57bd8b2c28
feat(*): install releases into namespace
8 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
8 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
8 years ago
Michelle Noorali
80a7339e2f
Merge pull request #947 from ngtuna/master
...
Fix #872 : index function should handle deleted charts correctly
8 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.
8 years ago
Adam Reese
0ceeb19ded
ref(cmd): refactor status cmd
8 years ago
Adam Reese
b6b9a4e04d
Merge pull request #952 from adamreese/ref/create-command
...
ref(cmd): refactor create cmd
8 years ago
Adam Reese
736009982e
ref(helm): fix naming issues from golint
8 years ago
Adam Reese
4dd95addd2
ref(cmd): refactor create cmd
8 years ago
Adam Reese
0d7cb4ac83
Merge pull request #945 from adamreese/ref/remove-dup-test
...
ref(cmd): remove duplicate test cases
8 years ago
ngtuna
90192b4b2e
fix(helm): helm search should only display only those charts with a remove boolean that is set to false
8 years ago
Adam Reese
a14e76a65c
chore(*): add canonical import path annotation
...
https://golang.org/doc/go1.4#canonicalimports
8 years ago
Adam Reese
71fa7ecb9b
ref(cmd): remove duplicate test cases
8 years ago