Commit graph

278 commits

Author SHA1 Message Date
Michelle Noorali
50d8d36d8b ref(kube): delete skips IsNotFound errs
Currently, delete returns an error if a resource is not found.
That is a bit confusing because if you delete something that
is not found, the end state is not really an error. The end
state is what you wanted to do in the first place. This type
of error is not propogated from the kube client but it is logged
in tiller.  We could also change this to keep returning errors
(even the not found) and filter it out in the release server.
2016-08-25 12:30:02 -06:00
Matt Butcher
926d7931d8 Merge pull request #1067 from ebraminio/deletepurge
Add purge option for completely remove a release from tiller
2016-08-25 10:12:13 -06:00
Michelle Noorali
c7bec34454 chore(kube): make update logic more generic 2016-08-25 09:32:16 -06:00
Michelle Noorali
197e466b9a ref(*): return resource update errors
Resolves #1058
2016-08-25 09:06:14 -06:00
Matt Butcher
01e2d367dd Merge pull request #988 from technosophos/feat/sig-files
feat(pkg/provenance): add OpenPGP signatures
2016-08-24 17:11:00 -06:00
Matt Butcher
f1d07c3f11 feat(helm): add --verify flag to commands
This adds the --verify and --keyring flags to:

helm fetch
helm inspect
helm install
helm upgrade

Each of these commands can now make cryptographic verification a
prerequisite for using a chart.
2016-08-24 13:18:26 -06:00
Matt Butcher
d80df93414 feat(helm): add signature support to 'helm package' 2016-08-23 12:15:07 -06:00
Matt Butcher
ce83a8a777 feat(pkg/provenance): add OpenPGP signatures
This adds support for OpenPGP signatures containing provenance data.
Such information can be used to verify the integrity of a Chart by
testing that its file hash, metadata, and images are correct.

This first PR does not contain all of the tooling necessary for
end-to-end chart integrity. It contains just the library.

See #983
2016-08-23 12:15:07 -06:00
Matt Butcher
84761a559a fix(helm): remove extra linter output
Closes #1076
2016-08-23 11:01:18 -06:00
Matt Butcher
a46a033de4 feat(chart): support 'image:URL' in charts.
Closes #1034
2016-08-22 16:05:40 -06:00
Miguel Martinez
cb12d9642b Disable validateQuotes linter rule 2016-08-18 11:31:49 -07:00
Ebrahim Byagowi
1c9b8d7257 Add purge option for completely remove a release from tiller 2016-08-18 11:19:30 +04:30
Matt Butcher
5bcf29d214 feat(tiller): make configmaps the default storage
This adds a Tiller CLI flag to override the default, and tests to
make sure that the default comes up as expected.
2016-08-15 16:30:51 -06:00
Adam Reese
47c360da37 chore(*): bump version to v2.0.0-alpha.3 2016-08-11 09:25:14 -07:00
Ville Aikas
c2cdb97ba2 Merge pull request #1039 from vaikas-google/master
First cut of adding dynamic cluster support to status command
2016-08-10 11:21:47 -07:00
vaikas-google
d2841f92f3 formatting changes, add comments, make tests pass 2016-08-09 21:54:26 -07:00
fibonacci1729
ae2d6c5050 Merge branch 'master' into feat/storage-memory 2016-08-09 18:11:05 -06:00
vaikas-google
d8e185267d First cut of adding dynamic cluster support to status command 2016-08-09 16:31:13 -07:00
fibonacci1729
9d3a1ed2a7 basic cfgmaps driver tests 2016-08-09 16:23:25 -06:00
fibonacci1729
d5aca1666c configmaps: style fix 2016-08-09 13:48:35 -06:00
fibonacci1729
94a154b745 more style fixes and cleanup 2016-08-09 13:19:28 -06:00
fibonacci1729
559e9081fb style fixes and cleanup 2016-08-09 12:49:31 -06:00
fibonacci1729
3dca699410 fix: storage tests 2016-08-09 11:45:17 -06:00
Michelle Noorali
f99228778d feat(*): integrate support for upgrade hooks 2016-08-09 10:24:16 -06:00
fibonacci1729
7c56882ed9 fix configmaps list, and labels mechanism for future tiller mgmt 2016-08-08 15:57:54 -06:00
fibonacci1729
cba0c6615f gofmt 2016-08-08 13:45:33 -06:00
fibonacci1729
8c56533a47 configmap tests & some reduction in driver complexity 2016-08-08 13:42:51 -06:00
Michelle Noorali
70b9f11a03 feat(*): add disable hooks flag to helm upgrade 2016-08-08 12:21:20 -06:00
Michelle Noorali
9465ce979b chore(helm): add options to update request 2016-08-08 12:21:20 -06:00
Matt Butcher
038d7102a9 Merge pull request #1028 from technosophos/fix/989-helm-ignore-defaults
fix(helm): fix helmignore evaluation of dirs
2016-08-08 11:10:45 -06:00
fibonacci1729
2d95906e1a wip: cfgmaps storage driver 2016-08-08 09:35:08 -06:00
fibonacci1729
0e26f20268 gofmt, style, and added comments 2016-08-08 09:33:35 -06:00
Michelle Noorali
1b31382d9c chore(glide): add kube pkgs to glide.yaml
* Thanks for the reminder adam :)
2016-08-05 16:22:22 -06:00
Matt Butcher
2e95230b30 fix(helm): fix helmignore evaluation of dirs
This adds a few extra settings to the default .helmignore file. In
doing this, I found a bug that some directory patterns are not
evaluated correctly. Fixed that and added tests.

Closes #989
Closes #1027
2016-08-05 15:50:02 -06:00
Michelle Noorali
f600b30c7a feat(kube): add update logic to kube client
This commit adds an Update function to the client.
The Update function takes in the modified manifests and
the original manifests. It then iterates through the modified
objects, creates objects not found in kubernetes, and updates
objects that exists but have been modified. Finally, it
iterates through the original resources and checks to see if
they have been deleted in the modified configuration and then
proceeds to delete them. #690
2016-08-05 11:09:39 -06:00
fibonacci1729
a83425d44b style & doc comments 2016-08-05 10:14:12 -06:00
Michelle Noorali
584245eadf Merge pull request #1023 from mumoshu/check-tgz-extension
Check for the tgz extension while collecting chart paths
2016-08-04 16:02:23 -06:00
Yusuke Kuoka
c0de9b4ada Check for the tgz extension while collecting chart paths 2016-08-04 09:45:12 +09:00
fibonacci1729
241cc29883 gofmt 2016-08-03 15:47:00 -06:00
fibonacci1729
c7e3ec7c46 add license to filter.go 2016-08-03 15:40:57 -06:00
fibonacci1729
d458bb7fb9 Change Create to return ErrReleaseExists if release exists 2016-08-03 15:40:42 -06:00
fibonacci1729
fad498e8fd added / documented common errors 2016-08-03 15:39:22 -06:00
Matt Butcher
b7945d05c4 ref(templates): change GetString to Get
This changes "pkg/chartutil".Files.Get to return a string, removes
"pkg/chartutil".Files.GetString, and adds
"pkg/chartutil".Files.GetBytes.

Closes #1020
2016-08-03 13:01:13 -06:00
Phillip Wittrock
4964467868 Swtich from rc to deployment for running tiller 2016-08-02 13:04:22 -07:00
fibonacci1729
967e438bfd gofmt ... 2016-08-01 17:48:02 -06:00
fibonacci1729
a05b48f320 update driver Queryor interface to reflect list filtering mechanism 2016-08-01 17:45:08 -06:00
fibonacci1729
bfd6712c94 add filtering mechanism to storage and embed Driver directly into Storage 2016-08-01 17:44:36 -06:00
Matt Butcher
9718c9e7c8 feat(engine): add 'partial' function
This adds a context-aware template function called 'partial' that will
allow rendering other templates in a chart into a string value, which
can then be piped to other functions. Usage is something like
'{{partial 'path/to/template.yaml' | indent 2}}'

This might be a bad idea.

Closes #1005
2016-08-01 16:30:34 -06:00
fibonacci1729
061b534885 fix panic in memory_test when release status is nil 2016-07-31 23:49:27 -06:00
fibonacci1729
aff817a1fc run gofmt 2016-07-31 23:34:50 -06:00