Adam Reese
264c6b10e1
feat(*): add git tree state to binaries
...
* clean up version output
8 years ago
Ville Aikas
1d6202d895
Merge pull request #1126 from vaikas-google/master
...
first cut of version on client and server
8 years ago
Ville Aikas
09e6af461f
clean up the formatting, remove unnecessary git_version from version as per discussions with @areese
8 years ago
Keerthan Reddy Mala (kmala)
55dc7b690f
fix(tiller): Upgrade shouldn't fail if there are no changes
...
Signed-off-by: Keerthan Reddy Mala (kmala) <kmala@deis.com>
8 years ago
vaikas-google
f8adf7f4d2
Address cr comments
8 years ago
vaikas-google
6d26024a27
first cut of version on client and server
8 years ago
Michelle Noorali
34f8707d6d
Merge pull request #1181 from michelleN/ref/check-args
...
ref(helm): refactor checkArgsLength method
8 years ago
fibonacci1729
9815c6b5c8
fix(1185): get release status by version iff version > 0
8 years ago
Adam Reese
448bb12c06
Merge pull request #1179 from adamreese/ref/helm-tunnel
...
ref(helm): simplify tunnel tests
8 years ago
fibonacci1729
e28e2419f2
fix(tiller): re-enable skipped test, golint, & gofmt all the things
8 years ago
Brian
79e5772061
Merge pull request #1155 from fibonacci1729/feat/rollback-storage
...
feat(rollback storage): support for rolling back to previous release.
8 years ago
fibonacci1729
84f982e8f1
feat(rollback-storage): use version in release_server test queries
8 years ago
fibonacci1729
825d2abd8c
feat(helm): better description for optional version flag
8 years ago
fibonacci1729
83df6ebc4d
feat(rollback-storage): remove extraneous else block and fix type in records_test
8 years ago
Michelle Noorali
e50f9e6b24
ref(helm): refactor checkArgsLength method
8 years ago
Adam Reese
123fb9e2fe
ref(helm): simplify tunnel tests
8 years ago
fibonacci1729
e42aa6c09c
feat(helm): add optional version flag to helm{get,status}
8 years ago
fibonacci1729
b47379ccdc
feat(rollback-storage): golint & removed early return from release server
8 years ago
fibonacci1729
de5365ec5c
feat(rollback-support): update release server / release server test
8 years ago
Matt Butcher
2b3d7c7f0c
Merge pull request #1139 from technosophos/fix/1138-failed-hook
...
fix(tiller): store failed release on post-inst failure
8 years ago
Matt Butcher
663f2b0f1d
fix(tiller): add test for failed hooks
8 years ago
Matt Butcher
53b01949a8
fix(tiller): store failed release on post-inst failure
...
This fixes a bug where post-install hooks did not result in recording a
failure.
8 years ago
Matt Butcher
1b3418d9e3
fix(helm): removed debug output
...
Also fixed a bug where a `--dry-run` will result in an error because
of the recently added status support.
There are several other output inconsistencies that I noticed and filed
as issue #1135 .
Closes #1130
8 years ago
Matt Butcher
c7182a5a35
Merge pull request #1132 from ammeon/replace-deleted
...
fix(tiller): Install --replace will result in an upgrade
8 years ago
Nic Roland
c180c4a250
fix(tiller): Install --replace will result in an upgrade
...
If a release has been deleted, `install --replace` will work but the release
status will still be "deleted". This means that subsequest attempts to
change the release will fail. Upgrading the release instead will prevent
such zombie releases.
Closes #1131
8 years ago
fibonacci1729
5b7e841faf
chore(tiller): delete redundant testing of storage in pkg/environment
8 years ago
Matt Butcher
fefa00fc52
fix(tiller): return status for deleted release
...
This modifies `helm status` to return info about deleted and failed
releases. We do our best to retrieve info for releases that were
partially deployed.
8 years ago
Ville Aikas
bf9dea1351
Merge pull request #1122 from vaikas-google/statusafterinstallupdate
...
print the status after install/upgrade
8 years ago
Michelle Noorali
07bcd3384a
Merge pull request #1112 from ammeon/fix-repo-index-url
...
fix(helm): make repo index not require repo_url
8 years ago
vaikas-google
6b9c9c5743
fix unit tests that I had b0rked before. Small code cleanup
8 years ago
Michelle Noorali
367a581a5a
Merge pull request #1109 from ammeon/fix-repo-remove-cache
...
fix(helm): make repo remove, clear cache
8 years ago
vaikas-google
406f0ab05c
print the status after install/upgrade
...
Signed-off-by: vaikas-google <vaikas@google.com>
8 years ago
vaikas-google
7c4cad5cf0
address lint comments from changing from all caps to camelcase
8 years ago
vaikas-google
c2a86cfbd4
fix a return statement with not enough arguments due to merge conflict
8 years ago
vaikas-google
492dbb3791
Add support for NOTES.txt file
8 years ago
joe2far
2253f3e84e
fix(helm): make repo index not require repo_url
8 years ago
Adam Reese
274804707c
Merge pull request #1118 from adamreese/feat/1117-init-version
...
feat(cmd): install latest tagged image on `helm init`
8 years ago
Adam Reese
5d820c4d7c
feat(cmd): install latest tagged image on `helm init`
...
closes : #1117
8 years ago
Matt Butcher
e2f9d8942c
Merge pull request #1107 from technosophos/fix/696-update
...
fix(helm): refactor 'helm update' to match new style
8 years ago
Matt Butcher
1fb16ab3c9
fix(helm): refactor 'helm update' to match new style
...
And add tests.
Closes #696
8 years ago
Matt Butcher
25c77febdb
Merge pull request #1097 from technosophos/feat/1001-k8s-apiversion
...
feat(tiller): verify apiVersions before install
8 years ago
Matt Butcher
557db8c6af
feat(tiller): verify apiVersions before install
8 years ago
Matt Butcher
2547bf4b89
Merge pull request #1105 from technosophos/ref/move-pkg-client
...
ref(pkg/client): move pkg/client to cmd/helm/installer
8 years ago
Matt Butcher
afb2b934b8
Merge pull request #1104 from technosophos/feat/1100-multi-args
...
feat(helm): allow multiple args for fetch, package, delete
8 years ago
joe2far
4b718274bc
fix(tiller): truncate release name returned from moniker
8 years ago
joe2far
a3d56852f1
fix(helm): make repo remove clear cache
8 years ago
Matt Butcher
5566e6baec
ref(pkg/client): move pkg/client to cmd/helm/installer
...
This is a minor refactor to move a leftover from Ancient Helm into the
current design. Specifically, the code to install Tiller from the Helm
client is now in `cmd/helm/installer`.
Closes #1033
8 years ago
Matt Butcher
1be28d6f29
feat(*): add 'helm list --all' and related flags
...
This adds support for the following 'helm list' flags:
- all: show all release types
- deleted: show deleted releases
- deployed: show deployed releases
- failed: show failed releases
These flags can be toggled. Only '--deployed' is turned on by default.
On the server side, Tiller's list function can now filter based on a
slice of release.Status_Code filters. While the client only supports a
subset, the server supports all known release.Status_Code types.
Closes #973
8 years ago
Matt Butcher
f3022a0909
feat(helm): allow multiple args for fetch, package, delete
...
This allows the following commands to accept more than one argument on
the CLI:
- helm fetch
- helm package
- helm delete
Closes #1100
8 years ago
Matt Butcher
926d7931d8
Merge pull request #1067 from ebraminio/deletepurge
...
Add purge option for completely remove a release from tiller
8 years ago
Michelle Noorali
197e466b9a
ref(*): return resource update errors
...
Resolves #1058
8 years ago
Adam Reese
76defc62ee
Merge pull request #1096 from adamreese/fix/spelings
...
fix(cmd): s/accomodate/accommodate/
8 years ago
Adam Reese
9bb471d2a8
fix(cmd): s/accomodate/accommodate/
...
Matt's second offence.
8 years ago
Matt Butcher
f1d07c3f11
feat(helm): add --verify flag to commands
...
This adds the --verify and --keyring flags to:
helm fetch
helm inspect
helm install
helm upgrade
Each of these commands can now make cryptographic verification a
prerequisite for using a chart.
8 years ago
Matt Butcher
d80df93414
feat(helm): add signature support to 'helm package'
8 years ago
Matt Butcher
13ee1af495
Merge pull request #1082 from devth/feat/add-set-to-helm-upgrade
...
Add --set flag to `helm upgrade`
8 years ago
Matt Butcher
77171c0136
Merge pull request #1080 from technosophos/feat/1071-limit-rel-name-len
...
feat(tiller): limit the max len of Release.Name
8 years ago
Trevor Hartman
9f0914f7cb
Add --set flag to `helm upgrade`
...
Fix #1070
8 years ago
Matt Butcher
cafec1202b
feat(tiller): limit the max len of Release.Name
...
This limits the number of characters in a release name to 14. This
preserves 10 characters for customizing the `name:` field in charts.
Relates to #1071
8 years ago
Michelle Noorali
cf5e158f0d
chore(helm): fix golint errors
8 years ago
Michelle Noorali
a124b4f56f
feat(helm): add rollback cmd
8 years ago
Ebrahim Byagowi
1c9b8d7257
Add purge option for completely remove a release from tiller
8 years ago
Matt Butcher
3181f70790
Merge pull request #1063 from devth/feat/value-merging
...
Include values from both --set and --values when specified on install
8 years ago
Trevor Hartman
edd6fd7465
Test overriding a property in TestValues
8 years ago
Adam Reese
6e4344ba17
Merge pull request #1064 from adamreese/fix/port-doc
...
fix(cmd): remove default port in cmd doc
8 years ago
Adam Reese
7bc56e74f9
fix(cmd): s/supress/suppress/
...
Suppress is spelled wrong.
Matt did it.
8 years ago
Adam Reese
6cc01e3a91
fix(cmd): remove default port in cmd doc
...
Default is unset.
8 years ago
Trevor Hartman
dacc4013c1
Include values from both --set and --values when specified on install
8 years ago
Matt Butcher
120256ecb3
Merge pull request #1057 from technosophos/feat/configmaps-default
...
feat(tiller): make configmaps the default storage
8 years ago
Matt Butcher
80761b6274
fix(helm): document KUBECONFIG env var
...
Closes #1047
8 years ago
Matt Butcher
5bcf29d214
feat(tiller): make configmaps the default storage
...
This adds a Tiller CLI flag to override the default, and tests to
make sure that the default comes up as expected.
8 years ago
Matt Butcher
8cc146841e
Merge pull request #1044 from technosophos/fix/1041-downgrade-already-exists-to-warning
...
fix(helm): warn on init when Tiller already exists
9 years ago
Matt Butcher
3128562149
fix(helm): warn on init when Tiller already exists
...
Previously, if 'helm init' was run on a cluster that had Tiller
installed, the init would fail. However, this condition indicates that
both the client and the server are in a condition to work, so this
should not be an error. This PR downgrades that error to a warning.
Closes #1041
9 years ago
Adam Reese
db74f74b55
Merge pull request #1040 from adamreese/fix/spelling
...
fix(cmd): s/specifiy/specify/
9 years ago
Ville Aikas
c2cdb97ba2
Merge pull request #1039 from vaikas-google/master
...
First cut of adding dynamic cluster support to status command
9 years ago
vaikas-google
bdbe457c3c
forgot to change the return to string
9 years ago
Adam Reese
2cfb11fe44
fix(cmd): s/specifiy/specify/
9 years ago
vaikas-google
d2841f92f3
formatting changes, add comments, make tests pass
9 years ago
fibonacci1729
ae2d6c5050
Merge branch 'master' into feat/storage-memory
9 years ago
vaikas-google
d8e185267d
First cut of adding dynamic cluster support to status command
9 years ago
Michelle Noorali
ae4ff5cd81
Merge pull request #1030 from michelleN/feat/690-helm-upgrade
...
feat(*): implement helm upgrade + upgrade hooks
9 years ago
fibonacci1729
ce909a39d6
fix: return only deployed releases
9 years ago
fibonacci1729
559e9081fb
style fixes and cleanup
9 years ago
Michelle Noorali
f99228778d
feat(*): integrate support for upgrade hooks
9 years ago
fibonacci1729
3a6a9f2436
gofmt on cmd/tiller
9 years ago
fibonacci1729
1d04646c85
update failing tests to use new storage / driver apis
9 years ago
fibonacci1729
b28c3793a0
add feature flag to use storage driver configmaps
9 years ago
Matt Butcher
24e891ee6d
Merge pull request #1029 from ammeon/serve-repo-path
...
Serve charts from specified local repository path
9 years ago
Michelle Noorali
70b9f11a03
feat(*): add disable hooks flag to `helm upgrade`
9 years ago
Michelle Noorali
8be3a34ac6
feat(tiller): add update logic to release server
9 years ago
Matt Butcher
cc2c1d9393
Merge pull request #1025 from technosophos/fix/1024-missing-values
...
fix(helm): fix inspect command to not panic
9 years ago
joe2far
1e7c814e8a
Serve charts from specified local repository path
9 years ago
fibonacci1729
74deac940b
update tiller environment & release server to use new storage
9 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
9 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.
9 years ago
Miguel Ángel Martínez Triviño
2521ce7bc2
Merge pull request #1019 from ebraminio/strictflag
...
Add a strict flag to helm lint
9 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…
9 years ago
Ebrahim Byagowi
107821f9ec
Add a strict flag to helm lint
9 years ago
vaikas-google
d42dbd3538
address code review comments. use text/template instead of html/template
9 years ago
Matt Butcher
603bb20ed4
Merge pull request #1014 from technosophos/fix/1010-reuse-name-replace
...
fix(helm): rename --reuse-name to --replace
9 years ago
vaikas-google
01a598f531
Add name-template flag for installation that allows the user to specify a template used for release name generation
9 years ago
Adam Reese
39ba728b6f
ref(cmd): refactor init command
9 years ago
Matt Butcher
4593111892
fix(helm): rename --reuse-name to --replace
...
Closes #1010
9 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.
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