Commit graph

899 commits

Author SHA1 Message Date
Florian Zysset
fa06dd176d helm init --upgrade will downgrade (#2805)
* Don't downgrade tiller with helm init --upgrade unless --force-upgrade is specified
Fix tests after merging master

* Reformatting with gofmt
2018-01-09 12:46:07 -08:00
Adam Reese
a31e3b8fe1
ref(*): kubernetes v1.9 support (#3234) 2018-01-05 12:30:26 -08:00
Matthew Fisher
1e373043b7
Merge pull request #3233 from pietromenna/symbolic-link-on-helm-init
fix(helm): Init not creating local-index symlink on Windows
2017-12-29 10:33:44 -08:00
Matthew Fisher
5decaa244e
Merge pull request #2754 from rbwsam/feat/get_kube_ver
feat(*): add k8s version to version debug cmd
2017-12-28 15:37:29 -08:00
Julian
ca415ab8db feat(helm): support namespace and additional values in lint (#2972)
* Add "--namespace" to helm lint

Keep lint syntax as close as possible to "helm install" resp. "helm
upgrade", so that one only needs to change the command.

See #2036

* Align lintCmd struct

* Add "--set" and "--values" to helm lint

Keep lint syntax as close as possible to "helm install" resp. "helm
upgrade", so that one only needs to change the command.

Closes #2495,#2036

* Reuse strict parameter, when rendering during lint

We want to see the rendering fail, if we missed a value, so we reuse
"--strict".

See #2495,#2036

* Fix lint unit test

See #2495,#2036

* Update docs
2017-12-13 14:43:12 -08:00
Pietro Menna
9129188fad
fix(helm): Init not creating local-index symlink on Windows
os.Symlink required additional permissions on Windows, and init is not currently identifying the failed creation.

Related to #2071
2017-12-13 20:39:23 -02:00
Matt Farina
9d4b9ca208
feat(status): Optional output as JSON and YAML 2017-12-12 12:51:05 -05:00
Sam Leavens
558dcf3cd4 Only show k8s version if asking for server version 2017-12-06 21:50:50 +01:00
Matthew Fisher
618094ccd2 fix TLS default path
Without this change, running `helm list --tls` without setting $HELM_HOME causes helm to look for TLS certificates under /.
2017-12-01 12:54:51 -08:00
Taylor Thomas
44e5cecdca fix(tiller): Forces close of idle gRPC connections
Possibly fixes #3121. This forces idle connections to drop after 10 minutes
2017-11-28 16:48:13 -08:00
Adam Reese
e93b77166d
Merge pull request #3025 from beeradb/fakeclient-releasestatus
Improvements to FakeClient: support all CRUD operations
2017-11-28 12:51:36 -08:00
Arash Deshmeh
9e869700c0 fix(helm): add --app-version flag to 'helm package'
When 'helm package --app-version foo' is run, this will
set the AppVersion field to 'foo' in the packaged chart.

Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
2017-11-24 14:41:33 -05:00
Igor Vuk
d81780032a Fix a typo in install.go, update helm_install.md 2017-11-23 19:06:37 +01:00
Matthew Fisher
cad89240f3
Merge pull request #3187 from hoesler/fix/chart_downloader
fix(helm): resolve relative chart paths
2017-11-23 07:48:09 -08:00
Christoph Hösler
af9190f956 feature: let FindChartInRepoURL return absolute chart URLs 2017-11-22 18:32:05 +01:00
Morgan Parry
b74c21a7b2 fix(helm): Fixed semantic version constraints on 'search' command (#3116)
Closes #3115
2017-11-22 09:39:02 -07:00
Christoph Hösler
2106766ab8 fix: rename variable due to linter warning 2017-11-22 13:46:47 +01:00
Christoph Hösler
57daa56b81 Update installDesc 2017-11-22 13:17:18 +01:00
Christoph Hösler
09313ad26c fix(helm): resolve relative chart paths 2017-11-22 12:51:06 +01:00
Rajat Jindal
7f13e13a71 support output-dir when running 'helm template' (#3144)
* support output-dir when running 'helm template'

* add --output-dir to documentation

* when writing to file, dont add additional document

* trigger another ci build. make test-unit works for me

* dont write blank files

* return err instead of panic
2017-11-21 12:10:27 -07:00
Michelle Noorali
5884124294 ref(docs): update plugin install documentation 2017-11-20 10:12:13 -05:00
Matt Butcher
e8e6ac5d77
Fix/missing ssl params (#3152)
* fix(helm): add TLS params back

During a recent refactor, several TLS flags stopped being processed for
a few of the commands. This fixes those commands, and documents how to
set up TLS.

* fix(tiller): add stricter certificate verification

The older version of Tiller allowed a weaker set of certificate checks
than we intended. This version requires a client certificate, and then
requires that that certificate be signed by a known CA. This works
around the situation where a user could provide a self-signed
certificate.
2017-11-15 17:52:24 -07:00
Taylor Thomas
f6bff5da94
Merge pull request #3052 from Lookyan/master
Add previous namespace mismatch warning
2017-11-08 20:12:35 -08:00
Alexander Lukyanchenko
6f6d46de06 Fix err checking 2017-11-07 23:42:13 +03:00
Matthew Fisher
1954b51186
Merge pull request #2621 from gardlt/feature/helm/adding-kubeconifg-flag
feat(helm): adding kubeconfig flag
2017-11-01 21:09:13 -07:00
gardlt
371ff8f26d feat(helm): adding kubeconfig flag 2017-11-01 00:27:12 -05:00
Matthew Fisher
1eb96ad9bc
use 127.0.0.1 instead of localhost 2017-10-31 18:15:41 -07:00
Matthew Fisher
fd33003065
Merge pull request #3078 from ipedrazas/feat/add_http_port
feat(tiller): exposes port 44135 in tiller deployment
2017-10-31 07:42:17 -07:00
Ivan Pedrazas
f20af6ab4c feat(tiller): exposes port 44135 in tiller deployment
Tiller exposes probes and metrics in 44135. Because tiller doesn't expose that port and does not contain any Prometheus annotations, making Prometheus scrape tiller is a bit more complex.

Closes #2985
2017-10-31 12:26:47 +00:00
xuhaigang
ae49979175 feat(helm): Add a flag --dep-up that helm install will automatically execute helm dep up when charts are in requirements.yaml but not in charts
If checkdependencies returns an error, we can start download the
charts which are not in charts.

Closes #2879
2017-10-31 16:41:31 +08:00
Matthew Fisher
c35cbe8c4b
Merge pull request #2825 from dshulyak/rudderport
Allow to specify socket for rudder grpc server
2017-10-30 16:06:53 -07:00
Adam Reese
ca4d543151
Merge pull request #3059 from mattfarina/feat/appversion-search
feat(search): Expose AppVersion in search results
2017-10-30 13:41:21 -07:00
Yagnesh Mistry
441758b206 add version flag to tiller binary (#2965)
add version flag to tiller binary

* TODO comment on tiller.go
2017-10-26 08:41:38 -07:00
Matt Farina
3cba226e2d
feat(search): Expose AppVersion in search results
Some would like to expose and see the application version in the
search results. This change displays it.

Closes #3010
2017-10-24 12:13:12 -04:00
Alexander Lukyanchenko
3171f89e48 Add previous namespace mismatch warning 2017-10-21 11:10:18 +03:00
Matthew Fisher
1eff362941 Merge pull request #3014 from mattfarina/fix/semver-order
fix(semver): fixed edge cases that do not match prerelease
2017-10-13 09:00:49 -07:00
Adam Reese
13912b3cc0 Merge pull request #3008 from adamreese/ref/kube-1.8
ref(*): kubernetes v1.8 support
2017-10-12 11:00:16 -07:00
Taylor Thomas
ab096b883a Merge pull request #2721 from RemingtonReackhof/secrets-support
feat(2196): secrets management
2017-10-12 10:05:43 -07:00
Brad Bowman
ab049ddb7b move releaseMockWithStatus back to private 2017-10-11 17:34:49 -06:00
Brad Bowman
2bc97cfc83 Update install tests to use ReleaseMock and associates from the helm package. Also fix release names to match expected reponse values 2017-10-11 17:26:16 -06:00
Brad Bowman
14510866d5 Update cmd tests to use ReleaseMock and assocaites from the helm package 2017-10-11 17:24:46 -06:00
Adam Reese
2b43ecd405
ref(*): kubernetes v1.8 support 2017-10-11 15:05:27 -07:00
Maciej Kwiek
3d94d9cfec Merge pull request #2769 from rocky-nupt/feature-remote-value
feat(helm):Allow remote values.yaml with -f
2017-10-11 09:52:29 +02:00
Justin Scott
16c579f3a3 feat(helm): Add --node-selectors and --output flags to helm init
This feature enables users to specify more control over where Tiller pod
lands by allowing "node-selectors" to be specified. Alternatively, the
"--output" flag will skip install and dump Tiller's raw Deployment manifest to stdout so user may alter it as they see fit (probably with a JSON manipulation tool like jq).

Closes #2299
2017-10-10 16:24:35 -07:00
Remington Reackhof
9af1018bd3 Add secrets storage backend for releases 2017-10-08 22:11:41 -04:00
Matt Farina
b27b11a280
fix(semver): fixed edge cases that do not match prerelease
>0.0.0-a does not match pre-releases on 0.0.0 that start with a
capital letter or number. This has to do with the ordering of
code points. Numbers and capital letters come before lowercase
letters.

>0.0.0-0 should match all valid pre-releases on 0.0.0. According
to the spec, "Numeric identifiers MUST NOT include leading zeroes."
A 0 is also the lowest code point for all the allowed characters
in a pre-release
2017-10-06 14:05:32 -04:00
Matthew Fisher
6e54d3b8ea Merge pull request #2747 from rocky-nupt/dependencies-update-verify
fix(helm): Fix the bug in helm dependency update -verify
2017-09-28 10:14:24 -07:00
Maciej Kwiek
962191b929 Merge pull request #2876 from rocky-nupt/fix-search-regexp
Fix(helm): fix the bug of helm search --regexp
2017-09-28 12:37:10 +02:00
Neil Moore
b74f6dd769 Update install.go 2017-09-26 09:13:54 +01:00
Neil Moore
1b8ddac230 Update install.go 2017-09-26 09:10:41 +01:00