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
vaikas-google
9b4d2616c2
Add ability to untar charts after downloading them
9 years ago
Adam Reese
fb8dd39268
Merge pull request #645 from adamreese/feat/kube-delete
...
feat(kube): add delete method
9 years ago
Adam Reese
00ff8acfdc
feat(kube): delete test example
9 years ago
Adam Reese
4a82e7ab4c
feat(kube): add delete method
9 years ago
Matt Butcher
6db7c39b84
feat(helm, tiller): implement k8s portion of install
...
This commit finally ties `helm install` together with the Kubernetes
client library to make an end-to-end trip.
There were several small fixes to go on both client and server side,
along with some changes to proto to support better error reporting.
The alpine chart has been updated to exhibit how the new Helm works.
9 years ago
Matt Butcher
eba4c59a84
Merge pull request #632 from technosophos/feat/helm-list
...
feat(helm, tiller): add release listings
9 years ago
Matt Butcher
e869c36cd2
feat(helm, tiller): implement list
9 years ago
Adam Reese
0b6309be02
ref(kube): refactor kubeclient to a struct
9 years ago
Adam Reese
c44f0b0b01
test(kube): improve kubernetes client test coverage
9 years ago
Matt Butcher
6950fe42dd
feat(helm, tiller): add release listings
...
This adds client and server support for 'helm list'.
9 years ago
Brian
2c71fb9f9b
Merge pull request #627 from fibonacci1729/feat/chart2proto
...
feat(chart2proto): chart to proto transformations for helm grpc client
9 years ago
Brian
c349bfbffd
feat(chart2proto): chart to proto transformations for helm grpc client
9 years ago
Michelle Noorali
ef4da35607
Merge pull request #629 from michelleN/tiller-img
...
chore(*): update tiller image
9 years ago
Michelle Noorali
25aef96c3c
chore(*): update tiller image
9 years ago
Matt Butcher
661e516a61
fix(lint): fix style issues
9 years ago
Adam Reese
03fe44f3da
ref(init): refactor init command to use kube client
9 years ago
Matt Butcher
f098cb6fb6
fix(*): rewrite import paths
9 years ago
Michelle Noorali
0ebeecbdd8
Merge pull request #68 from michelleN/helm-repo
...
feat(helm): add helm repo add command
9 years ago
Adam Reese
08d9b85f99
fix(kube): use a fake client in unit tests
9 years ago
Michelle Noorali
e250328e22
feat(helm): add helm repo add command
9 years ago
Adam Reese
0fbc9229cd
feat(kube): add kubernetes client
9 years ago
Matt Butcher
7e317e82db
Merge pull request #63 from technosophos/feat/helm-lint
...
feat(helm): add a very basic lint command
9 years ago
Matt Butcher
cf9c8ebe3c
feat(helm): add a very basic lint command
...
This adds a lint command that just checks to see if the chart is
parseable and if the templates are paresable.
9 years ago
Matt Butcher
dd2ff4f916
feat(tiller): implement get and status
9 years ago
Matt Butcher
c9b3c36243
feat(helm): implement 'helm remove'
9 years ago
Matt Butcher
a0aac1ad73
Merge pull request #56 from technosophos/fix/memory-storage-mutex
...
fix(storage): add mutex to in-memory
9 years ago
Matt Butcher
67e482c9e3
Merge pull request #57 from technosophos/feat/dry-run-install
...
feat(tiller): add support for dry run install
9 years ago
Matt Butcher
627a0e24e8
fix(storage): add mutex to in-memory
...
This adds a RW Mutex on the in-memory storage.
9 years ago
Matt Butcher
58fdaf1e52
feat(tiller): add support for dry run install
...
This adds support for dry run on install, as well as providing
enough info for an install to display (verbose) manifests. While
doing this, I ended up just storing the rendered manifests for
simplicity.
9 years ago
Matt Butcher
ab906a4f27
Merge pull request #55 from technosophos/feat/recursive-chart
...
feat(engine): add recursive template resolution
9 years ago
Brian
104126d2d2
Merge pull request #53 from fibonacci1729/feat/tiller-client
...
feat(tiller): add initial tiller client for basic helm installs.
9 years ago
Matt Butcher
ba22a18fad
fix(engine): coalesce values in templates
9 years ago
Michelle Noorali
ae720981d3
ref(repo): fix style errors in cmd/helm & pkg/repo
9 years ago
Michelle Noorali
39a9eab114
ref(helm): comment + err cleanup on helm
9 years ago
Michelle Noorali
2e1701be11
helm(search): add search command
9 years ago
Michelle Noorali
7842d2457b
feat(helm): reindex cache file
9 years ago
Michelle Noorali
fbd6ffa4b9
feat(helm): add local dir in home to store charts
9 years ago
Michelle Noorali
00b9356a95
feat(helm): add serve command to start local repo
9 years ago
Brian
7bc50a5d79
feat(tiller): add initial tiller client for basic helm installs.
...
1. install command loads chart archive.
2. invokes helm api to transform the pkg/chart.Chart type
to it's proto model.
3. the client then establishes a connection to tiller.
4. sends InstallReleaseRequest, receives InstallReleaseResponse.
todo (for complete install):
- walk pkg/chart.{Values,Deps,Templates} types and populate proto
definitions for various apis/messages.
9 years ago
Matt Butcher
07312c68e9
fix(engine): support chart template recursion
9 years ago
Matt Butcher
6077968341
feat(engine): add recursive template resolution
9 years ago
Matt Butcher
b708bde729
fix(*): remove unusted packages
9 years ago
Matt Butcher
c4b2926ce6
fix(*): fix misc style issues
9 years ago
Matt Butcher
dcfd1a4284
fix(storage): use new HAPI for storage
9 years ago
Matt Butcher
50f4349512
feat(tiller): add template and release to install
9 years ago
Matt Butcher
d3cff27bf9
Merge pull request #26 from technosophos/feat/helm-install
...
feat(tiller): add release server stub
9 years ago
Matt Butcher
d3830753b4
Merge pull request #25 from technosophos/feat/toml-parser
...
feat(chart): add values parser
9 years ago
Matt Butcher
0b9683e193
feat(tiller): add release server stub
9 years ago
Matt Butcher
1dd6c01f5d
fix(helm): improve create help
9 years ago
Matt Butcher
a97bf8b7c0
feat(helm): implement 'helm create'
9 years ago
Brian Hardock
a3066bb0c0
feat(hapi-pb):
...
1. remove preliminary hapi protocol buffer definitions
2. modify hapi Makefile
3. update hapi protobuf model in _proto/hapi/{chart,release,services}
4. generate protobuf src to pkg/proto/hapi/{chart,release,services}
9 years ago
Matt Butcher
619e1e2a0a
feat(chart): add values parser
...
This adds code to parse TOML files into Values maps. These can then
easily be passed into the template engine.
Included in this is support for TOML "tables", subsections of TOML
files. We will be using those to pass config data to dependent charts.
9 years ago
Matt Butcher
0ad4803aa3
fix(storage): Use a CRUD interface
...
Fixes #23
9 years ago
Matt Butcher
5514252801
Merge pull request #11 from technosophos/feat/chart-pkg
...
feat(chart): add chart package
9 years ago
Matt Butcher
ffa38d168d
Merge pull request #14 from technosophos/feat/release-storage
...
feat(storage): add basic implementation of storage
9 years ago
Michelle Noorali
72acb82e50
feat(init): add tiller installer logic
9 years ago
Matt Butcher
47991c9c7c
fix(chart): update chart testdata for newer format
9 years ago
Matt Butcher
5b78c77f3f
feat(chart): add chart package
...
This is the chart package from k8s/helm, modified for usage here.
9 years ago
Matt Butcher
fa6a33c349
feat(storage): add basic implementation of storage
...
This is an in-memory storage layer for storing releases. This will be
superseded by the Kubernetes ConfigMap implementtion.
9 years ago
Matt Butcher
b04a1cc7d4
fix(tiller): set up Tiller environment correctly
...
And structure the tests better.
9 years ago
Matt Butcher
913905a54f
fix(tiller): change environment.Engine signature
9 years ago
Matt Butcher
fa387494fb
feat(engine): add template engine
9 years ago
Matt Butcher
7a0413344e
feat(tiller): stub out environment
9 years ago
Matt Butcher
0868355d3e
feat(cmd): add grpc client and server
...
So far, they just have basic readiness checks.
9 years ago