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
Matt Butcher
1cd9f5d541
feat(helm): add 'helm get hooks'.
...
This adds 'helm get hooks' and updates 'helm get' to return
hook information.
8 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.
8 years ago
Michelle Noorali
15b428d450
feat(*): add version to release
...
laying ground work for #690
8 years ago
Matt Butcher
e91bbceff2
Merge pull request #916 from technosophos/feat/901-hooks
...
feat(tiller): support hooks for install
8 years ago
Matt Butcher
ff32062ae8
feat(tiller): support hooks for install
8 years ago
Adnan Abdulhussein
631ca63040
Merge pull request #922 from prydonius/feat/836-lint-multiple-charts
...
feat(lint): support linting multiple charts
8 years ago
Adnan Abdulhussein
a4458085ab
fix(lint): fix tests
8 years ago
Adnan Abdulhussein
dda61f6074
fix(lint): only return count of actually linted charts
8 years ago
Adnan Abdulhussein
f3e754794e
fix(lint): print relative path of packaged chart instead of temp dir
8 years ago
Adnan Abdulhussein
f273510c97
fix(lint): fix golint errors
8 years ago
Adam Reese
37cf2b9e7d
ref(tests): simplify creating fake client
8 years ago
Adam Reese
4db6cd93bb
fix(test): match output using regexp
8 years ago
Adnan Abdulhussein
03ca4e892f
feat(lint): support linting multiple charts
8 years ago
Adam Reese
2fb8b60765
fix(cmd): load client inside subcommand
8 years ago
Adam Reese
1ba822c7a4
docs(cmd): add missing license headers
8 years ago
Adam Reese
7c01a28c5c
test(cmd): add unit tests for get command
8 years ago
Adam Reese
5e3044a65f
ref(cmd): refactor get command
8 years ago
Adam Reese
e339cc7e0c
fix(cmd): fix lazy load client
8 years ago
Adam Reese
6453c99241
fix(cmd): rename list cmd context
8 years ago
Adam Reese
4d92bd086f
fix(cmd): lazy load client
8 years ago
Adam Reese
73f1bef3c9
test(cmd): add helm client mocking
8 years ago
Adam Reese
b990428111
test(cmd): add pattern for testing cmd package
8 years ago
Adam Reese
8cb39ce5cc
ref(cmd): refactor out globals and init()
8 years ago
Adam Reese
d32c20fd5c
ref(cmd): move flags out of init()
8 years ago
Miguel Ángel Martínez Triviño
81fd9edf4d
Merge pull request #899 from migmartri/897-values-refactorign
...
Support Linter for Values namespace
8 years ago
Adnan Abdulhussein
77820c7482
fix(lint): Return non-zero exit status when lint errors present
8 years ago
Michelle Noorali
849afc29bc
Merge pull request #908 from michelleN/feat/836-lint-archived-chart
...
feat(lint): lint an archived chart
8 years ago
Adam Reese
7869d8ba75
Merge pull request #910 from adamreese/fix/get-out-flag
...
fix(cmd): remove --file flag for helm get
8 years ago
Matt Butcher
80d70c601a
Merge pull request #905 from technosophos/fix/847-fix-style
...
fix(*): fix various style issues from make test-style
8 years ago
Adam Reese
63f23d0234
docs(cmd): remove --file flag from help text
9 years ago
Adam Reese
5c53f86803
fix(cmd): remove --file flag for helm get
...
Users can redirect stdout to a file
9 years ago
Michelle Noorali
a64303d0bf
feat(lint): lint an archived chart
...
* part of #836
9 years ago
Miguel Martinez
12aa72f121
Replacing options interface argument
9 years ago
Matt Butcher
62eb4f3ae2
Merge pull request #904 from technosophos/fix/895-show-nonexistent-filename
...
fix(helm): show correct filename on error
9 years ago
Matt Butcher
2c07a32a6b
fix(*): fix various style issues from make test-style
...
Closes #847 .
9 years ago
Matt Butcher
64d90aa567
fix(helm): show correct filename on error
...
Closes #895
9 years ago
Adam Reese
26de8ecb76
feat(cmd): silence usage on error
...
Closes https://github.com/kubernetes/helm/issues/864
9 years ago
Miguel Martinez
7bb4893cad
Support Linter for Values
9 years ago
Matt Butcher
225d3a8adc
test(engine): add test case for deep release passing
9 years ago
Matt Butcher
22ac61469f
feat(*): add Values namespace to templates
...
This adds the .Values namespace qualifier to all values
9 years ago
Matt Butcher
5b6fad043a
Merge pull request #871 from technosophos/feat/helm-install-from-repo
...
feat(helm): install directly from repo
9 years ago
Matt Butcher
ca6151f860
Merge pull request #867 from technosophos/fix/866-LICENSE
...
fix(LICENSE): add copyright year and authors
9 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.
9 years ago
Adam Reese
907936c2ce
fix(tunnel): handle blank namespace
9 years ago
Matt Butcher
e757b24aed
fix(*): add license header
9 years ago
Adam Reese
c5c8e82246
feat(tiller): record release status deployed
9 years ago
Matt Butcher
0acbcdd5cc
Merge pull request #855 from technosophos/fix/851-create-release-fail
...
fix(tiller): save failed releases
9 years ago
Brian
a6f89d7ac4
Merge pull request #833 from migmartri/689-linter-errors
...
Linter structure changes + extra chartfile rules
9 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
9 years ago
Adam Reese
573e5aa7fc
feat(kube): create namespace if it does not exist
9 years ago
Adam Reese
894cdb03bd
fix(cli): resolve flag name conflict
9 years ago
Adam Reese
47398de71c
fix(tunnel): allow tunneling to non-default namespace
9 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
9 years ago
fibonacci1729
245b5e080a
fix(issue/841): capitalization and punctuation consistency.
9 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.
9 years ago
Matt Butcher
e36647d1c3
Merge pull request #811 from mouserage/master
...
Templates partials
9 years ago
Matt Butcher
57a32f1df8
Merge pull request #832 from technosophos/feat/helmignore
...
feat(pkg/ignore): add helmignore library
9 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
9 years ago
Matt Butcher
85f1e96851
Merge pull request #820 from technosophos/fix/778-search-panic
...
fix(helm): fix two panics in 'helm search'
9 years ago
Matt Butcher
bb84f9c253
Merge pull request #830 from technosophos/fix/non-default-engine
...
fix(tiller): allow different template engine
9 years ago
Matt Butcher
8d410365a0
fix(helm): add 'helm repo rm' alias
9 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.
9 years ago
Matt Butcher
dde1524cab
fix(helm): fix two panics in 'helm search'
9 years ago
Matt Butcher
83d936cf46
Merge pull request #808 from technosophos/fix/values-chartutils
...
fix(chartutil): move values coalescing into chartutil
9 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
9 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.
9 years ago
Matt Butcher
f0f2bbf894
fix(helm): add .tgz to package names on fetch
...
Closes #812
9 years ago
Matt Butcher
490cef784c
fix(tiller): refactor template render to use chartutil.
9 years ago
MouseRage
66d04cbb6e
Templates partials
9 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.
9 years ago
fibonacci1729
3420096fc9
fix(*): start probes server on ':44135' (currently ':44134')
9 years ago
Matt Butcher
72be00c6fc
fix(chartutil): update 'fetch' and 'package' to use chartutil.
9 years ago
Matt Butcher
ebd81152dd
fix(helm): update 'helm create' to use YAML.
9 years ago
Matt Butcher
9ca8c27e16
fix(*): change TOML to YAML
9 years ago
Adam Reese
818c878700
chore(*): use k8s.io as the import path
9 years ago
Matt Butcher
336c650407
Merge pull request #777 from arschles/probes
...
Add HTTP server for liveness and readiness probes
9 years ago
Adam Reese
0f5c2951a2
feat(kube): use env variable to control kube logging
...
Removes command line flags and adds the environment variable
`KUBE_LOG_LEVEL`
9 years ago
vaikas-google
8405504953
do not return errors and do not print any messages about no matches found to be more like unix commands
9 years ago
Aaron Schlesinger
56069ae474
Fix tests
9 years ago
Aaron Schlesinger
fe3afa8012
Added test for probes ServeMux
9 years ago
Aaron Schlesinger
ada108126c
Add HTTP server for liveness and readiness probes
9 years ago
Adam Reese
5670d2db53
feat(version): statically link version at build time
9 years ago
Adam Reese
b26bd2e939
fix(cmd): rename verbose flag to debug
...
Remove a naming conflict with glog which allows for debugging kubernetes
requests.
9 years ago
Michelle Noorali
1d4d5ec872
ref(helm): refactor helm unit tests
...
... so we don't rely on external services
in unit tests :)
9 years ago
Michelle Noorali
4b5eef90a1
ref(helm): add default repository on init step
...
See #718
9 years ago
Adam Reese
94432ffb39
fix(deadcode): remove unused global variables
9 years ago
Adam Reese
a19875adcc
fix(style): cleanup coding style on error returns
9 years ago
Adam Reese
f0a15743d4
feat(tunnel): wire in the tunnel setup and teardown
9 years ago
Adam Reese
4df22392fc
feat(tunnel): add logic for detecting tiller pod
9 years ago
Michelle Noorali
7c2682112f
Merge pull request #745 from michelleN/repo-index
...
feat(helm): generate index file in given directory with given url
9 years ago
Matt Butcher
475544fb43
Merge pull request #744 from technosophos/fix/741-search
...
fix(helm): fix search bugs
9 years ago
Matt Butcher
53432c2cef
Merge pull request #736 from technosophos/fix/672-package-output
...
fix(helm): fix output of helm package command
9 years ago
Michelle Noorali
0783fee7b7
ref(helm): refactor test index files for search
9 years ago
Michelle Noorali
7e2964c549
feat(helm): add chart url to index file entries
9 years ago
Michelle Noorali
4bb36c89ab
feat(helm): generate index file for repository
9 years ago
Matt Butcher
146ac61286
fix(tiller): fix startup output
...
A two-character pull request.
9 years ago
Matt Butcher
f2b63805c2
fix(helm): fix search bugs
...
This fixes three things:
- #741 output is wrong
- #743 nil pointer error because of unchecked error
- Printing "Chart:" string in output
9 years ago
Matt Butcher
97cff39408
fix(helm): allow repo names in helm install
...
Now you can do 'helm install local/foo.0.1.0.tgz' and have the chart
installed from the repo, instead of just a local path.
9 years ago
Matt Butcher
93b01edd4f
fix(helm): change TILLER_HOST to HELM_HOST
...
This makes the naming of client-side environment variables consistent.
9 years ago
Matt Butcher
206e7266de
Merge pull request #732 from technosophos/feat/install-release-name
...
feat(helm): allow user to specify release name
9 years ago
Matt Butcher
9d96b789f1
Merge pull request #734 from technosophos/fix/687-delete-dry-run
...
fix(helm): improve --dry-run for helm delete
9 years ago
Matt Butcher
f483264ea1
fix(helm): fix output of helm package command
9 years ago
Matt Butcher
1a3b563fb9
fix(helm): improve --dry-run for helm delete
9 years ago
Matt Butcher
7c9e799fe7
fix(helm): print status in helm list output
...
This prints the status in the long output of helm list,
9 years ago
Matt Butcher
b1fb7cea7d
feat(helm): allow user to specify release name
...
This makes it possible for the user to specify their own release name
instead of accepting the generated one.
9 years ago
Matt Butcher
5c942226a3
feat(helm): allow overriding values
...
This supports the `-f` flag for overriding values with a specified
TOML file.
9 years ago
Matt Butcher
0cbb6c6e86
Merge pull request #725 from technosophos/fix/724-tiller-host
...
fix(helm): allow TILLER_HOME to be used everywhere
9 years ago
Matt Butcher
98a309a893
Merge pull request #726 from technosophos/fix/lint-style
...
fix(style): fixed minor style issues
9 years ago
Ville Aikas
499d2457fd
Merge pull request #716 from vaikas-google/master
...
Offset where the directories and files go from $HELM_HOME to $HELM_HOME/repository
9 years ago
Matt Butcher
cca4705350
fix(style): fixed minor style issues
9 years ago
Matt Butcher
e2bd651615
fix(helm): allow TILLER_HOME to be used everywhere
...
This refactors handling of the TILLER_HOME and HELM_HOME env vars so
that they can be set once and used everywhere. Individual commands no
longer need to handle setting.
9 years ago
Michelle Noorali
dde6bb37dd
Merge pull request #721 from michelleN/update-fix
...
ref(helm): fix helm update
9 years ago
Michelle Noorali
b2f7a8745d
ref(helm): fix helm update
9 years ago
Michelle Noorali
91effb79db
Merge pull request #717 from michelleN/fix-flag-description
...
chore(helm): fix flag description
9 years ago
Michelle Noorali
6c06531ea5
chore(helm): fix flag description
9 years ago
vaikas-google
d636fb1e72
add the tests
9 years ago
vaikas-google
a27e23990e
offset all the directories and files to $HELM_HOME/repository from $HELM_HOME
9 years ago
Matt Butcher
e944028787
fix(helm): allow user to skip namespace creation
...
This addresses two issues: #699 and #713 . It is now possible to skip
creating namespaces. In additional, a trivial bug was fixed that allows
you to create a custom namespace.
9 years ago
Matt Butcher
df4dc3e1ee
Merge pull request #710 from technosophos/fix/helm-repo-list-error
...
fix(helm): change helm repo list to return error when empty
9 years ago
Matt Butcher
37981e9cf2
Merge pull request #711 from technosophos/fix/helm-update-error
...
fix(helm): print err if no repositories to update
9 years ago
Matt Butcher
3b9bad13fd
Merge pull request #712 from technosophos/fix/helm-helptext
...
fix(helm): update main help text
9 years ago
Matt Butcher
1242211f60
Merge pull request #709 from technosophos/fix/lint-err-missing-chart
...
fix(helm): stop processing if lint can't find a chart
9 years ago
Matt Butcher
228060a1bf
fix(helm): update main help text
9 years ago
Matt Butcher
aa432dfc38
fix(helm): print err if no repositories to update
...
This prints an error if 'helm update' finds no repositories to update.
9 years ago
Matt Butcher
6f9aa1b888
fix(helm): change helm repo list to return error when empty
...
Following other commands, an empty list should return an error.
9 years ago
Matt Butcher
1fc04f7f20
fix(helm): stop processing if lint can't find a chart
...
This exits with an error code if the path resolution fails to find a
chart.
9 years ago
Matt Butcher
6235bf5085
fix(helm): print msg and exit when list has no results
9 years ago
Ville Aikas
5e1ef0ce86
Merge pull request #706 from vaikas-google/master
...
Print no matches found if none are found
9 years ago
vaikas-google
5a7e55ac62
When no matches found, return error instead of printing no matches found
9 years ago
vaikas-google
726312c915
Print no matches found if none are found
9 years ago
Adam Reese
f2e6a02004
fix(cmd): remove unused global var
9 years ago
Adam Reese
127a27682e
fix(cmd): fix init command description
9 years ago
Matt Butcher
a8642c81fc
fix(helm,tiller): change list offset to next result
...
Previously, paging used the last release name of the current set to ask
for more results. Now switched to using the first name of the next set.
Not sure I like this method. It makes the user experience more
complicated.
9 years ago
Matt Butcher
6844d3b493
feat(helm,tiller): add list reverse, string offset
9 years ago
Matt Butcher
dfc9693afe
feat(helm,tiller): add support for list filters
...
This adds support for filtering list results. Filter strings are
passed from Helm to Tiller, where they are compiled as regular
expressions and executed against the list of releases. Only matching
releases are returned.
Filters are applied before limits and sorts.
9 years ago