Michelle Noorali
f74720613b
chore(helm): add client test for upgrade cmd
...
I edited releaseMock as part of this PR
10 years ago
Michelle Noorali
36699cc22d
ref(helm): refactor cmd/upgrade for unit testing
10 years ago
Michelle Noorali
0fcd7fccea
feat(tiller): add upgrade validations to tiller
10 years ago
Michelle Noorali
5e654c0380
feat(*): get helm & tiller chatting about upgrades
10 years ago
Michelle Noorali
35bf1c66b4
feat(helm): add helm upgrade command
10 years ago
Grantseltzer
23421f9133
Add subcommands to specify only chart or values inspected
...
Signed-off-by: Grantseltzer <grantseltzer@gmail.com>
10 years ago
Adam Reese
49491a8a0a
fix(cmd): ensure tiller is running for connection
...
Fixes: https://github.com/kubernetes/helm/issues/981
10 years ago
Matt Butcher
37fd3e412b
Merge pull request #982 from technosophos/feat/944-command-line-values
...
feat(helm): support command-line values for install
10 years ago
Matt Butcher
76d8004abd
Merge pull request #979 from technosophos/fix/improved-delete-errors
...
fix(tiller): improve deletion error messages
10 years ago
Adam Reese
fcaa426491
chore(*): add missing license blocks to source code
10 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
10 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
10 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
10 years ago
Matt Butcher
9d5fdbdaaa
Merge pull request #970 from technosophos/feat/967-helm-inspect
...
feat(helm): add 'helm inspect'
10 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
10 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
10 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
10 years ago
Adam Reese
57bd8b2c28
feat(*): install releases into namespace
10 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
10 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
10 years ago
Michelle Noorali
80a7339e2f
Merge pull request #947 from ngtuna/master
...
Fix #872 : index function should handle deleted charts correctly
10 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.
10 years ago
Adam Reese
0ceeb19ded
ref(cmd): refactor status cmd
10 years ago
Adam Reese
b6b9a4e04d
Merge pull request #952 from adamreese/ref/create-command
...
ref(cmd): refactor create cmd
10 years ago
Adam Reese
736009982e
ref(helm): fix naming issues from golint
10 years ago
Adam Reese
4dd95addd2
ref(cmd): refactor create cmd
10 years ago
Adam Reese
0d7cb4ac83
Merge pull request #945 from adamreese/ref/remove-dup-test
...
ref(cmd): remove duplicate test cases
10 years ago
ngtuna
90192b4b2e
fix(helm): helm search should only display only those charts with a remove boolean that is set to false
10 years ago
Adam Reese
a14e76a65c
chore(*): add canonical import path annotation
...
https://golang.org/doc/go1.4#canonicalimports
10 years ago
Adam Reese
71fa7ecb9b
ref(cmd): remove duplicate test cases
10 years ago
Matt Butcher
1cd9f5d541
feat(helm): add 'helm get hooks'.
...
This adds 'helm get hooks' and updates 'helm get' to return
hook information.
10 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.
10 years ago
Michelle Noorali
15b428d450
feat(*): add version to release
...
laying ground work for #690
10 years ago
Matt Butcher
e91bbceff2
Merge pull request #916 from technosophos/feat/901-hooks
...
feat(tiller): support hooks for install
10 years ago
Matt Butcher
ff32062ae8
feat(tiller): support hooks for install
10 years ago
Adnan Abdulhussein
631ca63040
Merge pull request #922 from prydonius/feat/836-lint-multiple-charts
...
feat(lint): support linting multiple charts
10 years ago
Adnan Abdulhussein
a4458085ab
fix(lint): fix tests
10 years ago
Adnan Abdulhussein
dda61f6074
fix(lint): only return count of actually linted charts
10 years ago
Adnan Abdulhussein
f3e754794e
fix(lint): print relative path of packaged chart instead of temp dir
10 years ago
Adnan Abdulhussein
f273510c97
fix(lint): fix golint errors
10 years ago
Adam Reese
37cf2b9e7d
ref(tests): simplify creating fake client
10 years ago
Adam Reese
4db6cd93bb
fix(test): match output using regexp
10 years ago
Adnan Abdulhussein
03ca4e892f
feat(lint): support linting multiple charts
10 years ago
Adam Reese
2fb8b60765
fix(cmd): load client inside subcommand
10 years ago
Adam Reese
1ba822c7a4
docs(cmd): add missing license headers
10 years ago
Adam Reese
7c01a28c5c
test(cmd): add unit tests for get command
10 years ago
Adam Reese
5e3044a65f
ref(cmd): refactor get command
10 years ago
Adam Reese
e339cc7e0c
fix(cmd): fix lazy load client
10 years ago
Adam Reese
6453c99241
fix(cmd): rename list cmd context
10 years ago
Adam Reese
4d92bd086f
fix(cmd): lazy load client
10 years ago
Adam Reese
73f1bef3c9
test(cmd): add helm client mocking
10 years ago
Adam Reese
b990428111
test(cmd): add pattern for testing cmd package
10 years ago
Adam Reese
8cb39ce5cc
ref(cmd): refactor out globals and init()
10 years ago
Adam Reese
d32c20fd5c
ref(cmd): move flags out of init()
10 years ago
Miguel Ángel Martínez Triviño
81fd9edf4d
Merge pull request #899 from migmartri/897-values-refactorign
...
Support Linter for Values namespace
10 years ago
Adnan Abdulhussein
77820c7482
fix(lint): Return non-zero exit status when lint errors present
10 years ago
Michelle Noorali
849afc29bc
Merge pull request #908 from michelleN/feat/836-lint-archived-chart
...
feat(lint): lint an archived chart
10 years ago
Adam Reese
7869d8ba75
Merge pull request #910 from adamreese/fix/get-out-flag
...
fix(cmd): remove --file flag for helm get
10 years ago
Matt Butcher
80d70c601a
Merge pull request #905 from technosophos/fix/847-fix-style
...
fix(*): fix various style issues from make test-style
10 years ago
Adam Reese
63f23d0234
docs(cmd): remove --file flag from help text
10 years ago
Adam Reese
5c53f86803
fix(cmd): remove --file flag for helm get
...
Users can redirect stdout to a file
10 years ago
Michelle Noorali
a64303d0bf
feat(lint): lint an archived chart
...
* part of #836
10 years ago
Miguel Martinez
12aa72f121
Replacing options interface argument
10 years ago
Matt Butcher
62eb4f3ae2
Merge pull request #904 from technosophos/fix/895-show-nonexistent-filename
...
fix(helm): show correct filename on error
10 years ago
Matt Butcher
2c07a32a6b
fix(*): fix various style issues from make test-style
...
Closes #847 .
10 years ago
Matt Butcher
64d90aa567
fix(helm): show correct filename on error
...
Closes #895
10 years ago
Adam Reese
26de8ecb76
feat(cmd): silence usage on error
...
Closes https://github.com/kubernetes/helm/issues/864
10 years ago
Miguel Martinez
7bb4893cad
Support Linter for Values
10 years ago
Matt Butcher
225d3a8adc
test(engine): add test case for deep release passing
10 years ago
Matt Butcher
22ac61469f
feat(*): add Values namespace to templates
...
This adds the .Values namespace qualifier to all values
10 years ago
Matt Butcher
5b6fad043a
Merge pull request #871 from technosophos/feat/helm-install-from-repo
...
feat(helm): install directly from repo
10 years ago
Matt Butcher
ca6151f860
Merge pull request #867 from technosophos/fix/866-LICENSE
...
fix(LICENSE): add copyright year and authors
10 years ago
Matt Butcher
9e45ac117d
feat(helm): install directly from repo
...
A helm install command will try to load a chart from a local file first.
But if a local file is not found, it will try to fetch a file from a
matching repo request. The file will be downloaded to the client,
and then sent to Tiller for installation.
10 years ago
Adam Reese
907936c2ce
fix(tunnel): handle blank namespace
10 years ago
Matt Butcher
e757b24aed
fix(*): add license header
10 years ago
Adam Reese
c5c8e82246
feat(tiller): record release status deployed
10 years ago
Matt Butcher
0acbcdd5cc
Merge pull request #855 from technosophos/fix/851-create-release-fail
...
fix(tiller): save failed releases
10 years ago
Brian
a6f89d7ac4
Merge pull request #833 from migmartri/689-linter-errors
...
Linter structure changes + extra chartfile rules
10 years ago
Matt Butcher
da14da360b
fix(tiller): save failed releases
...
When a release failed, the release record was not saved. That led to the
case where Kubernetes resources were deployed, but the release that
deployed them was not tracked.
To fix, we now save the release on failure. The 'helm delete' operation
can delete failed resources.
Closes #851
10 years ago
Adam Reese
573e5aa7fc
feat(kube): create namespace if it does not exist
10 years ago
Adam Reese
894cdb03bd
fix(cli): resolve flag name conflict
10 years ago
Adam Reese
47398de71c
fix(tunnel): allow tunneling to non-default namespace
10 years ago
Miguel Martinez
c2459c06bf
New Chart linter structure
...
Fixed tests
Adding chart name linter
Add lint error
Moving to blocks
Moving to method
Moved lint rules to functions
Semantic version validation
Linting engine
Adding sources and home validations
Sharing file loading
Sharing file loading
Rolling back readme
Rewriting other linters
Fixing tests
Typo
Using chart.Metadata
Fixing format
Adding UNKNOWN in Engine
Adding tabs
Fixing tabs
10 years ago
fibonacci1729
245b5e080a
fix(issue/841): capitalization and punctuation consistency.
10 years ago
Matt Butcher
f30ff915f2
feat(helm): add 'helm get values --all' for all values
...
Add support for displaying computed configuration values. This is
useful for debugging.
10 years ago
Matt Butcher
e36647d1c3
Merge pull request #811 from mouserage/master
...
Templates partials
10 years ago
Matt Butcher
57a32f1df8
Merge pull request #832 from technosophos/feat/helmignore
...
feat(pkg/ignore): add helmignore library
10 years ago
Matt Butcher
713020359b
feat(pkg/ignore): add helmignore library
...
This adds support for .helmignore files. These files roughly follow
the conventions established for .gitignore files:
https://git-scm.com/docs/gitignore
Closes #748
10 years ago
Matt Butcher
85f1e96851
Merge pull request #820 from technosophos/fix/778-search-panic
...
fix(helm): fix two panics in 'helm search'
10 years ago
Matt Butcher
bb84f9c253
Merge pull request #830 from technosophos/fix/non-default-engine
...
fix(tiller): allow different template engine
10 years ago
Matt Butcher
8d410365a0
fix(helm): add 'helm repo rm' alias
10 years ago
Matt Butcher
76f4ee1eab
fix(tiller): allow different template engine
...
This is a minor fix to the Tiller internals to allow an alternate
template engine. This will still require future work to make it possible
to bootstrap in a different template renderer.
10 years ago
Matt Butcher
dde1524cab
fix(helm): fix two panics in 'helm search'
10 years ago
Matt Butcher
83d936cf46
Merge pull request #808 from technosophos/fix/values-chartutils
...
fix(chartutil): move values coalescing into chartutil
10 years ago
Matt Butcher
2971313296
Merge pull request #817 from technosophos/fix/812-fix-tgz-helm-fetch
...
fix(helm): add .tgz to package names on fetch
10 years ago
Matt Butcher
411cf6e54a
fix(helm): produce error if package name is inconsistent
...
'helm package' now produces an error if the directory name and the name
in Chart.yaml are not the same.
10 years ago
Matt Butcher
f0f2bbf894
fix(helm): add .tgz to package names on fetch
...
Closes #812
10 years ago
Matt Butcher
490cef784c
fix(tiller): refactor template render to use chartutil.
10 years ago
MouseRage
66d04cbb6e
Templates partials
10 years ago
Matt Butcher
c570363e5b
Merge pull request #793 from technosophos/feat/values-yaml
...
feat(chartutil): Update to use YAML instead of TOML for values files.
10 years ago