Commit graph

954 commits

Author SHA1 Message Date
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
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
Matthew Fisher
7c79d1c765
Merge pull request #3193 from burdiyan/master
ref(helm): improve fullname template in starter chart
2017-11-23 07:45:51 -08:00
Johnny Bergström
7cc610960f Walk symbolic link directories
Continue walking symlinks to be able to use them
for sub-charts. Useful when not specifying requirements
but still want to share charts locally.
2017-11-23 11:41:09 +01:00
Alexandr Burdiyan
f432e07126 ref(helm): improve fullname template in starter chart
Closes #1186
2017-11-23 11:23:32 +01:00
Christoph Hösler
98e0bd2ecb refactor: rename function and improve error messages 2017-11-23 09:41:34 +01:00
Christoph Hösler
af9190f956 feature: let FindChartInRepoURL return absolute chart URLs 2017-11-22 18:32:05 +01:00
Matthew Fisher
d655911088
Merge pull request #3041 from jlyheden/feature/plugin-http-installer
Add plugin installer from http archive
2017-11-22 09:15:45 -08:00
Helgi Þormar Þorbjörnsson
803f7c706e add a keepalive of 30s to the client (#3183) 2017-11-22 09:30:25 -07:00
Johnny Bergström
d762a42168 Fix helmignore for .* (#3114)
When the first rule matching entry for top level dir
will be empty string, the .* rule will match.
Skip this entry as it's not needed for processing.
2017-11-22 09:20:41 -07:00
Hadrien Chauvin
838d780894 update google.golang.org/grpc to 1.7.2 (#3101) 2017-11-22 09:16:02 -07:00
Matthew Fisher
4c21a0e739
Merge pull request #3123 from Miouge1/fullnameoverride
Add fullnameOverride
2017-11-21 10:41:02 -08:00
Matt Cholick
fe3eeaf39d fix(helm): Tunnel closing already closed channel (#3157)
k8s client-go closes the ready channel that's passed in (see https://github.com/kubernetes/client-go/blob/master/tools/portforward/portforward.go#L171) This means that Tunnel's Close will always panic, as the client-go library will have closed then channel. This isn't reproducible unless helm.Client is externally, as the helm cli runner doesn't actually invoke Close.
2017-11-21 11:34:02 -07:00
Kai Chen
bc45e90198 Remove unnecessary parentheses in switch statements (#3175) 2017-11-21 11:30:01 -07:00
Matt Farina
275fbd431c
feat(http): Add a Helm user-agent string to the http getter
Adding a user-agent to the http getter will enable servers to
distinguish between helm (including various versions) and other
tools connecting to the server.
2017-11-20 14:02:17 -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
Maxime Guyot
c864ba179e Add fullnameOverride 2017-11-10 10:52:56 +01:00
Pietro Menna
ece9486182
fix(helm): home env not set on Windows
When setting $HELM_HOME, only $HOME was considered. This variable is not always present on Windows.
2017-11-08 00:33:34 -02:00
Adam Reese
d6da76f3cf
Merge pull request #3097 from adamreese/fix/2437-upgrade-release
fix(tiller): upgrade last deployed release
2017-11-07 06:50:20 -08:00
Adam Reese
82ef751414
fix(tiller): upgrade last deployed release
Fixes #2437

Two bugs were causing this behavior

- Tiller was marking the previous release superseded when an upgrade
failed.
- Upgrade was diffing against failed releases
2017-11-03 14:57:33 -07: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
Matthew Fisher
93e1c765df
Merge pull request #3065 from cjauvin/fix-for-relative-chart-path-support
Fix for relative chart path support in index.yaml
2017-11-01 16:51:44 -07:00
Matt Tucker
b8734a173e fix(docs): fix code comment for ReuseValues() 2017-11-01 16:44:38 -06:00
gardlt
371ff8f26d feat(helm): adding kubeconfig flag 2017-11-01 00:27:12 -05:00
Christian Jauvin
8775f632f2 Fix for relative chart path support in index.yaml 2017-10-30 10:35:12 -04:00
Matt Farina
22e5381251
feat(chart): Adding maintainer url
Each maintainer can have an optional URL. There are seceral use
cases for providing a URL instead of an email address:
- The case where a maintainer wants to hide their email address
  behind a webform for personal security
- When the maintainer is an organization and feedback should
  go to an issue queue

This change:
- Adds the proto field for url
- Updates the generated files for the chart proto
- Includes linting for the url
- Updates the docs to include the url

Closes #3056
2017-10-24 11:44:28 -04:00
Adam Reese
08c1144f5e
chore(*): bump version to v2.7.0 2017-10-23 13:24:03 -07:00
Johan Lyheden
4831089500 Add tests to HTTPInstaller, update plugin documentation 2017-10-20 10:28:40 +02:00
Johan Lyheden
f1a08adb41 Update to comply with linter rules and gofmt 2017-10-19 13:42:11 +02:00
Johan Lyheden
d43d5ab452 Add plugin installer from http archive 2017-10-19 10:28:16 +02: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
500c9983b5 Merge pull request #3019 from thomastaylor312/fix/crd_ordering
fix(tiller): Adds CRD ordering
2017-10-12 10:06:23 -07:00
Brad Bowman
e974ab31d8 [fakeclient-releasestatus] Move ReleaseMock and associates into helm package and update tests to use them 2017-10-11 17:23:31 -06:00
Adam Reese
2b43ecd405
ref(*): kubernetes v1.8 support 2017-10-11 15:05:27 -07:00
Brad Bowman
8d5cf13f69 Add test case for deleting the only existing item 2017-10-11 14:46:07 -06:00
Brad Bowman
cab3057ee3 Add support for all CRUD operations + test coverage for delete and install 2017-10-11 14:43:27 -06:00
Brad Bowman
61f2b24dca Update comment for accuracy 2017-10-11 11:41:34 -06:00
Brad Bowman
76b70ec70f gofmt -s 2017-10-11 11:33:02 -06:00
Brad Bowman
3bc7c44f05 Make ReleaseContent and ReleaseStatus respect release names in the fake client 2017-10-11 11:16:01 -06:00
Taylor Thomas
29c3b5276f fix(tiller): Adds CRD ordering
This adds CRD ordering into the explicit kind sorter list

Closes #2925
2017-10-09 23:21:44 -07:00
Remington Reackhof
9af1018bd3 Add secrets storage backend for releases 2017-10-08 22:11:41 -04:00
Taylor Thomas
d4ccef7ba7 Merge pull request #2999 from bonifaido/getterConstructor-err
fix(helm): invoking getterConstructor returns downstream error now
2017-10-07 12:32:45 -07:00
Dhilip
67af4998de helm create all defined template names should be namespaced … (#2845)
* helm create all defined template names should be namespaced https://docs.helm.sh/chart_best_practices/#names-of-defined-templates

* Update Doc

* Update example
2017-10-06 09:04:53 -06:00
Michal Cwienczek
dad8c6f644 Fix #2937 - helm always appends /index.yaml at the end of URL (#2988)
* Closes #2937
Added required dependency to run make test in developer's guide

* Fixed base URL appending when chart address is not absolute

* Removed requirement from developers.md

* Fixed unnecessary line breaks

* Added tests for query string repo

* Returning URL along with error
2017-10-06 08:59:11 -06:00
Matthew Fisher
d7a81c99e1 Merge pull request #2976 from HotelsDotCom/respect-apiversion-change
Ignore Apiversion, use Kind and Name only to search for original resource on update/delete
2017-10-04 16:23:37 -07:00
Matthew Fisher
d4f5a133dd Merge pull request #2960 from HotelsDotCom/upgrade-failure-record-release-as-update
Correctly persists Release upgrade failure
2017-10-03 12:30:48 -07:00
Taylor Thomas
f8e9741578 Merge pull request #2984 from thomastaylor312/feat/add_missing_test
fix(sorter): Adds missing unit test
2017-10-03 11:41:10 -07:00
Matthew Fisher
e3e1116eaa Merge pull request #2857 from llsheldon/fix-dependency-alias
fix(helm):Fix dependency aliaes not working
2017-10-03 10:59:11 -07:00
Matthew Fisher
3799c477d1 Merge pull request #2938 from bacongobbler/remove-facebookgo
Remove facebookgo dependencies
2017-10-03 10:44:42 -07:00
Nandor Kracser
a28e5dd2b3 fix(helm): invoking getterConstructor returns downstream error now 2017-10-03 12:01:49 +02:00