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