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
Matt Butcher
ea6b82a43c
feat(tiller): sort list in tiller, not helm
9 years ago
Brian
62cb6ce45d
Merge pull request #701 from fibonacci1729/fix/helm-install
...
fix(helm): fix for issue #680r
9 years ago
fibonacci1729
9e0408fc57
fix(helm): fix for issue #680r
...
details: the host flag for install overrides the
TILLER_HOST env var. If neither are set,
host defaults to ":44134".
9 years ago
Matt Butcher
f51170ed35
Merge pull request #693 from technosophos/feat/storage-history
...
feat(tiller): stub in release history
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
0f89b08e52
Merge pull request #683 from technosophos/fix/668-client-error-fmt
...
fix(helm): fix error formatting
9 years ago
Ville Aikas
9fecf74800
Merge pull request #684 from vaikas-google/master
...
add alias for helm up for helm update
9 years ago
Matt Butcher
463c7e25aa
fix(helm): fix error formatting
...
This fixes a number of issues with error formatting and handling in the
client.
Closes #668
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
vaikas-google
85d9613cf3
add alias for helm up for helm update
9 years ago
vaikas-google
e35edc7475
rename remove to delete
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
86647034e6
Merge pull request #671 from technosophos/fix/install-verbose
...
fix(helm): make install ouput similar to others
9 years ago
Michelle Noorali
361fd36ffc
Merge pull request #658 from michelleN/helm-update
...
feat(helm): add helm update command
9 years ago
Matt Butcher
e959915fe4
fix(helm): improve 'helm get' output
...
This makes the output of 'helm get' more like the output of other
Helm commands.
9 years ago
Matt Butcher
e24be19e9c
fix(helm): make install ouput similar to others
...
This now uses the global verbose flag (instead of a local one) and
formats the output in roughly the same style that 'helm list' and
'helm repo *' use.
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
f81ac9f5b7
Add missing newline to HELM_HOME info output string
9 years ago
vaikas-google
1c529d46c9
Add client-only flag to init command, which will skip installTiller()
9 years ago
vaikas-google
91c3d31451
fix the arguments in the call to searchCacheForPattern
9 years ago
vaikas-google
d50e22c707
Add search support
9 years ago
Michelle Noorali
bf4b15c01d
feat(helm): validate cache file before updating
9 years ago
Michelle Noorali
c7e571918d
feat(helm): download cache file when adding repo
9 years ago
Matt Butcher
5a284ae32e
Merge pull request #649 from technosophos/feat/helm-delete-k8s
...
feat(tiller): delete operation runs against Kubernetes
9 years ago
vaikas-google
92039222b5
remove the todo based on PR comments
9 years ago
vaikas-google
9b4d2616c2
Add ability to untar charts after downloading them
9 years ago
Matt Butcher
6b68e7891f
feat(tiller): delete operation runs against Kubernetes
...
Also fixed a minor formatting issue with Alpine chart in docs.
9 years ago
Matt Butcher
d644c22059
Merge pull request #643 from technosophos/feat/install-k8s
...
feat(helm, tiller): implement k8s portion of install
9 years ago
vaikas-google
d5bf6efebc
fix typo and return error
9 years ago
vaikas-google
a1acee52cc
cleanup
9 years ago
vaikas-google
95d953b8c3
add scheme to default local repo
9 years ago
vaikas-google
84bf7b41cf
cleanups, add todos
9 years ago
vaikas-google
b39a084834
first cut of fetch
9 years ago
Michelle Noorali
459338264e
feat(helm): add helm update command
...
This resolves issue #640 .
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
Michelle Noorali
45932547ec
Merge pull request #631 from michelleN/helm-repo
...
feat(helm): add helm repo remove cmd
9 years ago
Matt Butcher
6950fe42dd
feat(helm, tiller): add release listings
...
This adds client and server support for 'helm list'.
9 years ago
Michelle Noorali
6dd87645c7
ref(helm): add remove repo command
...
+ some clean up of repo add & init
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
Matt Butcher
7530a84b8c
Merge pull request #620 from technosophos/feat/helm-get-values
...
feat(helm): add 'get values', 'get manifest'
9 years ago
Brian
c349bfbffd
feat(chart2proto): chart to proto transformations for helm grpc client
9 years ago
Michelle Noorali
66477e0598
ref(helm): add helper to check len of cmd args
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
Adam Reese
aca9f0f8f2
fix(vet): fix weird go vet issue
9 years ago
Matt Butcher
bdedb38dfb
feat(helm): add 'get values', 'get manifest'
9 years ago
Matt Butcher
fa0982ac00
Merge pull request #617 from technosophos/feat/tiller-flags
...
fix(tiller): pass address and port via flag
9 years ago
Matt Butcher
67bd026840
fix(tiller): pass address and port via flag
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
b6411be797
feat(helm): add helm repo list command
9 years ago
Michelle Noorali
e250328e22
feat(helm): add helm repo add command
9 years ago
Michelle Noorali
5251344318
feat(helm): add structure.go to hold paths
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
7142189c35
Merge pull request #59 from technosophos/feat/helm-get-status
...
feat(tiller): implement get and status
9 years ago
Michelle Noorali
a6dd3cb0b9
Merge pull request #64 from michelleN/helm-serve
...
ref(init): save helm paths to variables
9 years ago
Michelle Noorali
8404d743a0
ref(init): save helm paths to variables
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
67e482c9e3
Merge pull request #57 from technosophos/feat/dry-run-install
...
feat(tiller): add support for dry run install
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
Brian
104126d2d2
Merge pull request #53 from fibonacci1729/feat/tiller-client
...
feat(tiller): add initial tiller client for basic helm installs.
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
9e05956efa
feat(fetch): stub out fetch command
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
f9c06b1da2
feat(init): add cache.txt to $HELM_HOME/local
9 years ago
Michelle Noorali
a5a1ef9546
feat(package): save package to $HELM_HOME/local
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
b708bde729
fix(*): remove unusted packages
9 years ago
Matt Butcher
c4b2926ce6
fix(*): fix misc style issues
9 years ago
Matt Butcher
33a543c920
fix(tiller): replace codegangsta with cobra
9 years ago
Matt Butcher
00966bb4d1
fix(helmet): remove helmet
9 years ago
Michelle Noorali
09a3b7ed1e
Merge pull request #34 from michelleN/helm-package
...
ref(package): add error handling on args
9 years ago
Michelle Noorali
e5b84e3a3e
Merge pull request #35 from michelleN/helm-home
...
feat(helm): implement home command
9 years ago
Matt Butcher
77322a5f06
Merge pull request #32 from technosophos/feat/helm-install
...
feat(tiller): add template and release to install
9 years ago
Matt Butcher
00aaf653da
fix(tiller): add tests
9 years ago
Matt Butcher
dcfd1a4284
fix(storage): use new HAPI for storage
9 years ago
Michelle Noorali
8b8000ecc4
feat(helm): implement home command
9 years ago
Michelle Noorali
f741fe6953
ref(package): add error handling on args
9 years ago
Michelle Noorali
d54c351afb
Merge pull request #28 from michelleN/helm-init
...
feat(init): add local config step to init
9 years ago
Matt Butcher
50f4349512
feat(tiller): add template and release to install
9 years ago
Michelle Noorali
7d207d9a71
feat(init): add local config step to init
...
This is the second half of issue #3 .
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
0b9683e193
feat(tiller): add release server stub
9 years ago
Matt Butcher
8b36967a7e
fix(client): remove auto-generating maintainer
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
Matt Butcher
84ac5cd3f0
Merge pull request #21 from technosophos/feat/helm-package
...
feat(helm): add 'helm package' command
9 years ago
Matt Butcher
0ad4803aa3
fix(storage): Use a CRUD interface
...
Fixes #23
9 years ago
Michelle Noorali
2e11f26946
feat(home): add helm home command
9 years ago
Michelle Noorali
8afc295608
feat(helm): add global usage description to helm
9 years ago
Matt Butcher
68e3cc1cc9
feat(helm): add 'helm package' command
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
40cbc9007c
ref(init): add desc, rm cmd/tiller/Dockerfile
9 years ago
Michelle Noorali
306aca6aec
feat(init): add init logic
...
+ -i flag to override tiller image
9 years ago
Matt Butcher
44dc0de71f
fix(server): add tests for in-memory storage
...
This adds a higher level set of tests for storage.
9 years ago
Michelle Noorali
338dc6d4fe
feat(init): add Dockerfile for tiller
9 years ago
Michelle Noorali
9281012d3c
feat(helm): add init cmd and test
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
a4a0c79fc4
Merge pull request #13 from technosophos/fix/kubeclient-iface
...
fix(environment): make KubeClient take multiple files
9 years ago
Matt Butcher
b8bf4db347
fix(environment): make KubeClient take multiple files
...
Rather than just taking a []byte for Install, take a map of
filenames->contents.
9 years ago
Matt Butcher
b647e9a94d
fix(tiller): add server test
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
b86a1cb94e
ifeat(tiller): add environment to server struct
9 years ago
Matt Butcher
610c6ced09
fix(environment): add tests for Environment
9 years ago
Matt Butcher
ce1185faa8
feat(helm): add initial helm client
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