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
ngtuna
a2d6817b9b
go idiom typo
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
736009982e
ref(helm): fix naming issues from golint
8 years ago
ngtuna
03e59fd6c0
bypass gofmt
8 years ago
Adam Reese
a14e76a65c
chore(*): add canonical import path annotation
...
https://golang.org/doc/go1.4#canonicalimports
8 years ago
ngtuna
bfce033cc0
fix(helm): helm repo index should not delete entry, instead it should update removed=true
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
f273510c97
fix(lint): fix golint errors
8 years ago
Adam Reese
d5aa4852a7
Merge pull request #921 from adamreese/ref/command-tests
...
ref(cmd): refactor cmd for unit testing
8 years ago
Adnan Abdulhussein
03ca4e892f
feat(lint): support linting multiple charts
8 years ago
Miguel Martinez
3b2ea04348
fix(linter) Typos
9 years ago
Adam Reese
5013da3d25
fix(helm): add ReleaseContent to interface
9 years ago
Adam Reese
73f1bef3c9
test(cmd): add helm client mocking
9 years ago
Matt Butcher
310ef9bbcb
fix(helm): fix linter test panic
...
Handle a previously unhandled error in the linter. This simply bails out
if a chart's values files do not parse.
Also, changed the implementation of CoalesceValues to return a map even
on error.
9 years ago
Miguel Ángel Martínez Triviño
81fd9edf4d
Merge pull request #899 from migmartri/897-values-refactorign
...
Support Linter for Values namespace
9 years ago
Adnan Abdulhussein
9b257077d5
Merge pull request #915 from prydonius/fix/912-nil-map-readvalues
...
fix(chartutil): Ensure ReadValues doesn't return a nil map
9 years ago
Adnan Abdulhussein
4ef61a7136
fix(chartutil): Ensure ReadValues doesn't return a nil map
9 years ago
Adnan Abdulhussein
bcd1889083
Merge pull request #907 from prydonius/906-linter-exit-status
...
fix(lint): Return non-zero exit status when lint errors present
9 years ago
Matt Butcher
cd75b6a781
Merge pull request #902 from technosophos/feat/894-template-info-in-templates
...
feat(tiller): add .Template object in templates
9 years ago
Adnan Abdulhussein
09f56459c7
Improve tests to ensure highest severity is retained
9 years ago
Adnan Abdulhussein
77820c7482
fix(lint): Return non-zero exit status when lint errors present
9 years ago
Michelle Noorali
849afc29bc
Merge pull request #908 from michelleN/feat/836-lint-archived-chart
...
feat(lint): lint an archived chart
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
532f03ec78
feat(tiller): add .Template object in templates
...
This allows templates to access information about the template file.
Right now, the template can only access the .Template.Name, which is the
chart-relative path to the current template.
Closes #894
9 years ago
Matt Butcher
2c07a32a6b
fix(*): fix various style issues from make test-style
...
Closes #847 .
9 years ago
Miguel Martinez
7bb4893cad
Support Linter for Values
9 years ago
Michelle Noorali
bb875b5657
Merge pull request #896 from michelleN/fix/892-fetch-untar
...
fix(chartutil): fix chartutil.Expand function
9 years ago
Matt Butcher
ab4e20c278
Merge pull request #888 from technosophos/fix/887-no-value-fix
...
fix(tiller): stop printing <no value> when var is missing
9 years ago
Michelle Noorali
bcffe8a3f2
fix(chartutil): fix Expand function
...
This ensures that all necessary directories
get created when expanding a chart in the
chartutil.Expand function. fixes #892
9 years ago
Matt Butcher
2084af2e04
Merge pull request #885 from migmartri/882-linter-improvements
...
Adding squote test case and generic message
9 years ago
Matt Butcher
96ac6ebc6c
fix(tiller): stop printing <no value> when var is missing
...
Instead of printing "no value", this prints an empty string by
default, but adds a Strict flag on the engine, which (if true)
will cause a template render to error out if a value is not supplied.
Strict is set to false so that developers can instead use `default` to
set default values.
9 years ago
Miguel Martinez
d1fe406478
Adding squote test case and generic message
9 years ago
Miguel Martinez
2eff17cb6d
Removing debugging line
9 years ago
Matt Butcher
225d3a8adc
test(engine): add test case for deep release passing
9 years ago
Matt Butcher
e00f774a5d
fix(engine): remove debugging output
9 years ago
Matt Butcher
90c46e896d
fix(chartutil): fix Table() method to test Values
...
This makes the Table() method more flexible than the original version.
It allows either a map[string]interface{} or a chartutil.Values to be
treated as a table.
9 years ago
Matt Butcher
22ac61469f
feat(*): add Values namespace to templates
...
This adds the .Values namespace qualifier to all values
9 years ago
Miguel Martinez
81ac98ad9a
Adding support for associated templates
...
Fixing unit test
9 years ago
Miguel Martinez
03d27779d3
Templates Lint rules
...
Template rules
Adding chart errors
Added function that checks the existence of all the values in the templates
Adding chartfile unit tests
Testing runLinterRule
Fixing out of range
Fixing out of range
Improving quote detector
9 years ago
Adam Reese
69f66629c4
chore(*): bump version to v2.0.0-alpha.2
9 years ago
Matt Butcher
e757b24aed
fix(*): add license header
9 years ago
Adam Reese
68e0032fbd
Merge pull request #863 from adamreese/fix/686-tunnel-error
...
fix(tunnel): display friendly error on connect issues
9 years ago
Adam Reese
d300a08915
fix(tunnel): display friendly error on connect issues
...
Fixes : #686
9 years ago
Matt Butcher
23ce6142f9
fix(chartutil): remove a wayward println
9 years ago
Brian
a6f89d7ac4
Merge pull request #833 from migmartri/689-linter-errors
...
Linter structure changes + extra chartfile rules
9 years ago
Adam Reese
573e5aa7fc
feat(kube): create namespace if it does not exist
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
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
4a6c1e308b
fix(pkg/chart): remove pkg/chart
...
This is the final step in replacing pkg/chart with pkg/chartutil.
This also removes the last of the TOML code.
9 years ago
Matt Butcher
57a32f1df8
Merge pull request #832 from technosophos/feat/helmignore
...
feat(pkg/ignore): add helmignore library
9 years ago
fibonacci1729
5a1c54298f
ref(pkg/helm): remove pkg/helmx
9 years ago
fibonacci1729
56f519ab38
ref(pkg/helm): move pkg/helmx to pkg/helm & remove feature toggle
9 years ago
fibonacci1729
91c3521b18
ref(pkg/helm): package helm refactor
...
includes:
- (#826 ) removal old pkg/helm
9 years ago
Brian
1b59967d2f
Merge pull request #834 from fibonacci1729/ref/pkg-helm
...
ref(pkg/helm): package helm refactor
9 years ago
fibonacci1729
4cd0059db2
ref(pkg/helm): package helm refactor
...
includes:
- (#828 ) helm client grpc support ported from old pkg/helm
- comment consistencey & style fix
- gofmt pkg/helmx
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
2b2a5788f3
Merge pull request #824 from technosophos/feat/global-vars
...
feat(chartutil): support global variables
9 years ago
Brian
fda8029682
Merge pull request #829 from fibonacci1729/ref/pkg-helm
...
ref(pkg/helm): package helm refactor
9 years ago
fibonacci1729
ea2e8e80fc
ref(pkg/helm): package helm refactor
...
includes:
- (#825 ) comptability interface between
old/pkg/helm and new/pkg/helm
- (#827 ) helm client scaffolding and
rpc / release options
9 years ago
Matt Butcher
768d1fbdeb
Merge pull request #823 from technosophos/fix/822-values.yaml
...
fix(helm): read values.yaml instead of values.toml
9 years ago
Matt Butcher
88622a20da
fix(helm): read values.yaml instead of values.toml
...
Closes #822
9 years ago
Matt Butcher
60f5341b91
feat(chartutil): support global variables
...
This provides support for "global" variables. It does this by
declaring "global" to be a special namespace. It then copies this
namespace into every subchart, coalescing it into any "global"
namespace found there.
The net result is that if "global.foo" is set in the YAML file, it
will be available to every chart/subchart as ".global.foo" regardless of
where that chart is in the subchart tree.
9 years ago
Adam Reese
54f0ffe0cb
Merge pull request #821 from adamreese/fix/speling
...
fix(helm): s/arbitary/arbitrary/
9 years ago
Adam Reese
d013a3df36
fix(helm): s/arbitary/arbitrary/
9 years ago
Matt Butcher
490cef784c
fix(tiller): refactor template render to use chartutil.
9 years ago
Matt Butcher
e8109048a9
fix(chartutil): move values coalescing into chartutil
9 years ago
Adam Reese
d95a144563
fix(chartutil): fix nil error on values
...
Fixes: https://github.com/kubernetes/helm/issues/803
9 years ago
Matt Butcher
5a2174231b
fix(helm): fix repo package to use chartutil
9 years ago
Matt Butcher
377a43385e
fix(*): fixed import paths
9 years ago
Matt Butcher
72be00c6fc
fix(chartutil): update 'fetch' and 'package' to use chartutil.
9 years ago
Matt Butcher
cded50e34f
fix(chartutil): update lint 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
Matt Butcher
7aa4ffa4d4
feat(chartutil): switch 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
Michelle Noorali
1b060b1f5c
Merge pull request #785 from migmartri/784-malformed
...
Fixed URL parse
9 years ago
Miguel Martinez
a0c1125a39
fix(repo) Malformed URL
9 years ago
Aaron Schlesinger
9e1df63e77
using spaces in the tiller manifest yaml
9 years ago
Matt Butcher
759f754f1b
Merge pull request #790 from technosophos/feat/chartutil-save
...
feat(chartutil): add Save function
9 years ago
Matt Butcher
15a1cb4816
feat(chartutil): add Save function
...
This replicates the previous Save function, which can save an
in-memory Chart proto to a tgz.
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
Matt Butcher
2802fcbd87
feat(chartutil): optimize for re-use
...
This is a refactor of the loader to use in-memory buffers instead of
trying to optimize for memory usage by delaying reads until the last
possible moment. Since charts tend to stay well below 1M in size, this
makes more sense, and is easier to work with.
9 years ago
Matt Butcher
5d040ec181
Merge branch 'master' into feat/chartutil
9 years ago
Aaron Schlesinger
9940222d34
Add probes to the the embedded Tiller manifest
9 years ago
Adam Reese
9295cb5438
Merge pull request #776 from adamreese/feat/version
...
feat(version): statically link version at build time
9 years ago
Matt Butcher
f1b6373f76
Merge pull request #772 from Ladicle/fix-init-command
...
fix(tiller): fix install function
9 years ago
Adam Reese
5670d2db53
feat(version): statically link version at build time
9 years ago
Ladicle
97a9586a1b
fix(tiller): fix install function
...
Because, occur the following error when `createNS` flag is true.
`panic: template: redefinition of template "manifest"`
9 years ago
Matt Butcher
2704e47154
fix(helm): stop requiring a values.toml in a chart
...
Charts should not require a values.toml file -- some charts will just be
manifests with nothing configurable.
9 years ago
Matt Butcher
25053e6ada
feat(pkg/chartutil): add chartutil package
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
Matt Butcher
57c9861116
Merge pull request #715 from technosophos/docs/updated-charts
...
docs(chart): updated chart documentation
9 years ago
Adam Reese
a19875adcc
fix(style): cleanup coding style on error returns
9 years ago
Adam Reese
4df22392fc
feat(tunnel): add logic for detecting tiller pod
9 years ago
Adam Reese
792aa1a1aa
feat(kube): create tunnel for client
9 years ago
Matt Butcher
87429c66e9
Merge pull request #755 from technosophos/fix/chart-any
...
fix(proto): let chart take multiple Files.
9 years ago
Matt Butcher
7d2ae9378a
fix(proto): let chart take multiple Files.
9 years ago
Michelle Noorali
b4844383aa
ref(helm): digest -> checksum in index file
9 years ago
Michelle Noorali
447ce5a2dd
ref(helm): fix chart url in index file
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
53432c2cef
Merge pull request #736 from technosophos/fix/672-package-output
...
fix(helm): fix output of helm package command
9 years ago
Matt Butcher
423d44d597
Merge pull request #751 from technosophos/fix/helm-list-deleted
...
fix(tiller): stop returning deleted releases for list
9 years ago
Michelle Noorali
0783fee7b7
ref(helm): refactor test index files for search
9 years ago
Michelle Noorali
2234dc8927
feat(helm): handle update case on index function
9 years ago
Michelle Noorali
7bd739c27e
feat(helm): populate Digest & Created in index func
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
ec9b086ac8
fix(chart): change source to sources in chart file
...
As a carryover from the days when we only allowed one source, the source
field was still labeled 'source' instead of 'sources'. Fixed and updated
all of the tests.
9 years ago
Matt Butcher
1412a88cda
fix(tiller): stop returning deleted releases for list
9 years ago
fibonacci1729
97170b0732
fix(hapi): field for miscellaneous files in a chart archive, e.g. 'README', 'LICENSE'
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
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
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
b199d8f58b
fix(pkg/helm): skip test that can't run in Circle
...
Right now, some tests need a Tiller instance, and the WIP for that isn't
done yet. So for now, skip this test.
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
cca4705350
fix(style): fixed minor style issues
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
Matt Butcher
26e003b931
docs(chart): updated chart documentation
...
Also noticed a field was omitted from metadata.proto and the docs.
Added it back, though functionally it is a no-op.
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
b243a86f1c
Merge pull request #669 from technosophos/feat/better-list
...
feat(helm,tiller): improve list output, support filters
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
Matt Butcher
ea6b82a43c
feat(tiller): sort list in tiller, not helm
9 years ago
vaikas-google
932663bd5f
add test for malformed values.toml file
9 years ago
vaikas-google
012b0f7c3e
update the lint_test for correct errors
9 years ago
vaikas-google
7edce9b82b
Validate Chart.yaml version for semver, validate that values.toml parses if present
9 years ago
Matt Butcher
f51170ed35
Merge pull request #693 from technosophos/feat/storage-history
...
feat(tiller): stub in release history
9 years ago
Adam Reese
b9708b2e3b
fix(tiller): use correct port in rc spec
9 years ago
Matt Butcher
938dbf095a
feat(tiller): stub in release history
...
This provides the basics for the release history feature that
ReleaseStorage needs to support. The implementation for Memory storage
is only partial.
9 years ago
Michelle Noorali
0590ca1a71
Merge pull request #685 from michelleN/cache-rename
...
ref(helm): rename cache file to index file
9 years ago
Matt Butcher
3ddacb6b4b
fix(proto): fix style issues and documentation
...
This fixes indentation, documentation, and removes unused protobuf
files.
9 years ago
Matt Butcher
9546b27d23
Merge pull request #677 from technosophos/fix/style-pkg
...
fix(*): correct numerous golint errors
9 years ago
Michelle Noorali
9b732da719
ref(helm): rename cache file to index file
...
* also change additional references to cache to index
* see issue #665
9 years ago
Matt Butcher
75a1aa648e
fix(*): correct numerous golint errors
9 years ago
Matt Butcher
422700363e
feat(pkg): add a timeconv.String function
...
Rather than do the same formatting repeatedly, we can just call a
convenience function to format to a specific format.
9 years ago
Matt Butcher
37cf3eab92
feat(helm): allow user to specify namespace
9 years ago
Matt Butcher
9d78c33b69
feat(tiller): allow specifying namespace on cli
9 years ago
vaikas-google
d50e22c707
Add search support
9 years ago