Commit graph

751 commits

Author SHA1 Message Date
Sushil Kumar
dce9d88c25 Added tests for --repo flag for helm fetch command
- [ ] Added tests for --repo flag on `helm fetch` command
- [ ] Also added tests for (pkg/repo).FindChartInRepoURL
2017-05-02 16:57:05 -07:00
Sushil Kumar
d13b134ffb Implements --repo flag to commands fetch, install, inspect, upgrade 2017-05-02 10:46:16 -07:00
Matt Butcher
e66cdcd1f3 Merge pull request #2352 from technosophos/ref/getter
ref(getter): flatten the getter package tree
2017-05-02 10:04:12 -06:00
Michelle Noorali
3f22e407cd Merge pull request #2365 from michelleN/feat/2224-service-account-flag
feat(helm): add service account flag to helm init
2017-05-02 10:16:44 -04:00
Adam Reese
c7f0edd3d2 Merge pull request #2353 from SlickNik/nm_zsh_completions
Add support for zsh to helm completion
2017-05-01 15:33:06 -07:00
Matt Butcher
bd02f39384
ref(getter): flatten the getter package tree
This flattens the getter package tree, adds tests, and changes a little
bit of the terminology to follow Go idioms. This also makes much of the
getter API private to begin with. This will give us more flexibility in
the future.
2017-05-01 16:18:13 -06:00
Michelle Noorali
64e9e47183 feat(helm): add service account flag to helm init
helps with half of #2224
2017-05-01 14:02:04 -04:00
Nikhil Manchanda
49e7aa854a Add support for zsh to helm completion
Updated the 'helm completion' command to take in the shell
as a parameter. Currently acceptable options are 'bash' and
'zsh'. Also fixed the completions to work with zsh in a manner
similar to what kubectl does.

Also updated the docs to reflect this change.

Closes #2201
2017-04-30 23:25:03 -07:00
Matt Butcher
9a33628e4e Merge pull request #2338 from technosophos/fix/2209-warning-to-error
fix(helm): return error when dependencies are missing
2017-04-28 14:16:42 -06:00
Matt Butcher
6246fa12a8
fix(helm): return error when dependencies are missing
This upgrades a warning to an error in cases where `requirements.yaml`
contains a requirement, but it's missing in charts/

This impacts install, upgrade, and package.

Closes #2209
2017-04-27 16:34:18 -06:00
Brian
d7ab16ad03 Merge pull request #2316 from fibonacci1729/master
fix(tiller): update tls client auth policy
2017-04-27 15:16:21 -06:00
fibonacci1729
d7240ff943 fix(tiller): update tls client auth policy
RequireAndVerifyClientCert => VerifyClientCertIfGiven

Closes #2310
2017-04-21 09:34:26 -06:00
Adam Reese
50eee83646
ref(helm): use new debug method to standardize debug output 2017-04-19 23:55:36 -07:00
Matt Butcher
5af676cda1 Merge pull request #2287 from jascott1/2222/nethost_tiller
feat(tiller): add --net-host flag to 'helm init'
2017-04-19 13:59:25 -06:00
Brian
17c0de49d1 Merge pull request #2291 from fibonacci1729/master
test(*): add tests for new tls support
2017-04-19 13:53:59 -06:00
Shane Starcher
7150fc3d9e bug(helm) - install/upgrade/search semver constraint support 2017-04-18 18:10:48 -04:00
Justin Scott
48649fe03e WIP feat(tiller): add --net-host flag to 'helm init'
When 'helm init --net-host=true' is run, Tiller will be installed with access to the host network (net=host in Docker)

Closes #2222
2017-04-18 14:40:54 -07:00
fibonacci1729
73e6399294 test(*): add tests for new tls support
Adds a testdata directory to hold tls certs at the root
of the project. The tests cover pkg/tlsutil, cmd/helm,
and cmd/helm/installer.

Closes #2289
2017-04-18 15:02:06 -06:00
Gergo Huszty
b4ca198cc6 Pluggable downloaders. Closes #2093, #2094.
It is now possible to create plugins with chart download capabilities for custom, non-http protocols.
Furthermore it is possible to reuse helm packages to implement alternative clients with these custom downloader functions.
2017-04-16 20:58:03 +02:00
Matt Butcher
bba0214ea1 Merge pull request #2273 from sushilkm/issues/2272
Exposes repository-URLs as flags on helm init command
2017-04-13 14:45:39 -06:00
Matt Butcher
0c11033fb7 Merge pull request #2171 from appscode/tiler-prom
Expose tiller server metrics to prometheus
2017-04-13 13:53:23 -06:00
Sushil Kumar
5431f33cb1 Exposes repository-URLs as flags on helm init command
Fixes issues/2272

stable-repository-url is currently hard-coded for helm init,
so if a user wants to make a different intranet repository as stable repo,
only option left is to first do an init,
followed by repo delete and repo add.
2017-04-13 12:14:58 -07:00
Taylor Thomas
d03311b45a Merge pull request #2188 from scottrigby/chartutil-ingress-example
chartutil create ingress example
2017-04-13 09:21:24 -07:00
sadlil
8c81e7336a Add prometheus monitoring for tiler 2017-04-13 09:37:12 +06:00
Matthew Fisher
43b393f617 clarify helm serve's intent
A lot of community members are looking at `helm serve` as a production webserver to host their
charts. There are much better solutions out there like s3, wabs or gcs for cloud storage and
nginx, haproxy or apache for DIY dedicated web servers. Steering users in the right direction
will help users make the right decision when it comes to serving their charts in production.
2017-04-12 15:39:39 -07:00
Adam Reese
0ab38a998c Merge pull request #2248 from adamreese/ref/kube-v1.6
ref(*): kubernetes v1.6
2017-04-11 18:49:35 -07:00
Matt Butcher
382e2b42d6 Merge pull request #2239 from technosophos/fix/2238-duplicate-commands
fix(helm): remove duplicate commands
2017-04-11 17:13:29 -06:00
Adam Reese
85c41ef11a ref(*): kubernetes v1.6
Rebase on kubernetes v1.6
2017-04-11 15:42:23 -07:00
Adam Reese
264ad3271e fix(init): use ImagePullPolicy Always for canary installs
fixes: #2155
2017-04-11 15:30:24 -07:00
Sushil Kumar
000bf9fd1a Added release-name to helm delete error
Fixes https://github.com/kubernetes/helm/issues/2251
In case a user tries to delete a non-existent release,
the error message displayed was missing release-name.
2017-04-11 09:41:07 -07:00
Sushil Kumar
72c0c1ae8b Replaced InstallRelease with InstallReleaseFromChart in cmd/install.go
Fixes https://github.com/kubernetes/helm/issues/2240

`helm install` command was calling chartutil.Load twice,
once from `run` method and
another time from `client.InstallRelease` which is called from `run` method in `cmd/helm/install.go`
2017-04-07 14:42:15 -07:00
Matt Butcher
1a79c28f45
fix(helm): remove duplicate commands
Closes #2238
2017-04-07 14:30:09 -06:00
Adam Reese
51b8d8a6ee feat(helm): add plugin management commands
Add plugin management subcommands for installing and removing plugins
to `$HELM_HOST/plugins`.

Install accepts a vcs url or a local directory.

```
$ helm plugin install http://github.com/adamreese/helm-env
Installed plugin: env

$ helm plugin list
NAME    	VERSION	DESCRIPTION
env     	0.1.0  	Print out the helm environment.

$ helm plugin remove env
Removed plugin: env
```

closes #1977
2017-04-06 11:28:09 -07:00
Brian
a8e0983362 Merge pull request #2108 from fibonacci1729/feat/tls
feat/tls: Support optional TLS for helm / tiller
2017-04-05 12:48:00 -06:00
kiich
85a91394aa Merge branch 'master' into deploymentsReady-when-newRS-has-minimumReplicas 2017-04-04 22:35:13 +01:00
Matt Butcher
eb4a187df6 Merge pull request #2145 from technosophos/fix/2127-skip-refrsh-on-init
fix(helm): add 'skip-refresh' flag to 'helm init'
2017-04-04 14:51:16 -06:00
fibonacci1729
735f4e3d4a feat/tls: add TLS support for helm / tiller 2017-04-04 12:20:37 -06:00
Kiichiro Okano
e3655bb142 Trigger deployment as success when new replicaSet has reached minimum you need which is number of replicas minus maxUnavailable 2017-04-04 14:24:58 +01:00
Matt Butcher
94f712ab4d Merge pull request #2210 from seh/include-yaml-doc-boundary-markers
Separate manifests printed by "helm init" with YAML document boundary markers
2017-04-03 17:13:49 -06:00
Matt Butcher
daa39c2689
feat(helm): add --reuse-values flag to upgrade
This makes it possible to re-use the existing values on an upgrade,
merging in any new values set by `-f` or `--set`.

Closes #1876
2017-04-03 13:54:45 -06:00
Matt Butcher
ba6c55c987
fix(helm): add 'skip-refresh' flag to 'helm init'
This exposes the skip-refresh flag to helm init to make it possible to
initialize Helm without fetching the index.yaml of the stable repo.
This mirrors the behavior of 'helm dep up's skip-refresh flag.

Closes #2127
2017-04-03 13:44:08 -06:00
Taylor Thomas
e8f5d4deca Merge pull request #2153 from kragniz/package-destination
fix(helm): add --destination flag to 'helm package'
2017-04-01 12:52:44 -07:00
Steven E. Harris
da950c5c57 Separate manifests with document boundary markers
In order to allow the stream emitted by "helm init --debug" to be fed
back into "kubectl create/apply -f", use YAML starting and ending
document boundary markers instead of blank lines to separate the
individual manifests.
2017-03-31 13:08:43 -04:00
David Wittman
5734c2162e
Fix identation of helm dep help text
The `repository` lines in the help text for `helm dep` were misaligned
with the rest of the dependency block.
2017-03-30 17:10:20 -05:00
Scott Rigby
c9e6c41051 Update TestCreateStarterCmd expected templates 2017-03-25 19:59:31 -04:00
Louis Taylor
a2ab1aaa09
fix(helm): add --destination flag to 'helm package'
This adds a flag similar to the --destination flag on 'helm fetch',
allowing control over the destination for the packaged .tgz file.

Closes #2117
2017-03-24 11:24:45 +00:00
fibonacci1729
ad614b91a5 feat: helm support for TLS 2017-03-22 14:53:33 -06:00
fibonacci1729
efe5e2744b ref/installer: pass arguments in options struct to installer apis 2017-03-16 17:34:34 -06:00
Taylor Thomas
24eb6011b5 Merge pull request #2105 from cblecker/docs-clean-home
Add script to clean homedir out of docs
2017-03-14 21:51:13 -07:00
Adam Reese
a90638e4f4 Merge pull request #2102 from adamreese/fix/2098-repo-list
fix(helm): remove max column width for repo list
2017-03-14 12:02:48 -07:00