Michelle Noorali
c7bec34454
chore(kube): make update logic more generic
8 years ago
Michelle Noorali
197e466b9a
ref(*): return resource update errors
...
Resolves #1058
8 years ago
Matt Butcher
01e2d367dd
Merge pull request #988 from technosophos/feat/sig-files
...
feat(pkg/provenance): add OpenPGP signatures
8 years ago
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.
8 years ago
Matt Butcher
d80df93414
feat(helm): add signature support to 'helm package'
8 years ago
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
8 years ago
Matt Butcher
84761a559a
fix(helm): remove extra linter output
...
Closes #1076
8 years ago
Matt Butcher
a46a033de4
feat(chart): support 'image:URL' in charts.
...
Closes #1034
8 years ago
Miguel Martinez
cb12d9642b
Disable validateQuotes linter rule
8 years ago
Ebrahim Byagowi
1c9b8d7257
Add purge option for completely remove a release from tiller
8 years ago
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.
8 years ago
Adam Reese
47c360da37
chore(*): bump version to v2.0.0-alpha.3
8 years ago
Ville Aikas
c2cdb97ba2
Merge pull request #1039 from vaikas-google/master
...
First cut of adding dynamic cluster support to status command
9 years ago
vaikas-google
d2841f92f3
formatting changes, add comments, make tests pass
9 years ago
fibonacci1729
ae2d6c5050
Merge branch 'master' into feat/storage-memory
9 years ago
vaikas-google
d8e185267d
First cut of adding dynamic cluster support to status command
9 years ago
fibonacci1729
9d3a1ed2a7
basic cfgmaps driver tests
9 years ago
fibonacci1729
d5aca1666c
configmaps: style fix
9 years ago
fibonacci1729
94a154b745
more style fixes and cleanup
9 years ago
fibonacci1729
559e9081fb
style fixes and cleanup
9 years ago
fibonacci1729
3dca699410
fix: storage tests
9 years ago
Michelle Noorali
f99228778d
feat(*): integrate support for upgrade hooks
9 years ago
fibonacci1729
7c56882ed9
fix configmaps list, and labels mechanism for future tiller mgmt
9 years ago
fibonacci1729
cba0c6615f
gofmt
9 years ago
fibonacci1729
8c56533a47
configmap tests & some reduction in driver complexity
9 years ago
Michelle Noorali
70b9f11a03
feat(*): add disable hooks flag to `helm upgrade`
9 years ago
Michelle Noorali
9465ce979b
chore(helm): add options to update request
9 years ago
Matt Butcher
038d7102a9
Merge pull request #1028 from technosophos/fix/989-helm-ignore-defaults
...
fix(helm): fix helmignore evaluation of dirs
9 years ago
fibonacci1729
2d95906e1a
wip: cfgmaps storage driver
9 years ago
fibonacci1729
0e26f20268
gofmt, style, and added comments
9 years ago
Michelle Noorali
1b31382d9c
chore(glide): add kube pkgs to glide.yaml
...
* Thanks for the reminder adam :)
9 years ago
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
9 years ago
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
9 years ago
fibonacci1729
a83425d44b
style & doc comments
9 years ago
Michelle Noorali
584245eadf
Merge pull request #1023 from mumoshu/check-tgz-extension
...
Check for the tgz extension while collecting chart paths
9 years ago
Yusuke Kuoka
c0de9b4ada
Check for the tgz extension while collecting chart paths
9 years ago
fibonacci1729
241cc29883
gofmt
9 years ago
fibonacci1729
c7e3ec7c46
add license to filter.go
9 years ago
fibonacci1729
d458bb7fb9
Change Create to return ErrReleaseExists if release exists
9 years ago
fibonacci1729
fad498e8fd
added / documented common errors
9 years ago
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
9 years ago
Phillip Wittrock
4964467868
Swtich from rc to deployment for running tiller
9 years ago
fibonacci1729
967e438bfd
gofmt ...
9 years ago
fibonacci1729
a05b48f320
update driver Queryor interface to reflect list filtering mechanism
9 years ago
fibonacci1729
bfd6712c94
add filtering mechanism to storage and embed Driver directly into Storage
9 years ago
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
9 years ago
fibonacci1729
061b534885
fix panic in memory_test when release status is nil
9 years ago
fibonacci1729
aff817a1fc
run gofmt
9 years ago
fibonacci1729
4210d60c5e
add storage type to interface with multiple drivers
9 years ago
fibonacci1729
6dd5c9783e
add driver package to encapsulate storage backends
9 years ago
fibonacci1729
943eadec38
move old memory impl. to driver/
9 years ago
Matt Butcher
be053f3c05
Merge pull request #994 from technosophos/feat/950-files-in-templates
...
feat(tiller): add Files map to templates
9 years ago
Matt Butcher
033dbfe75e
feat(tiller): add Files map to templates
...
Templates can now access the non-template files in a chart by using
the '{{.Files}}' map inside of a template.
Relates to #950
9 years ago
Matt Butcher
a1fffc6977
Merge pull request #997 from technosophos/feat/972-reuse-name
...
feat(helm,tiller): add --reuse-name flag to helm install
9 years ago
Adam Reese
ea4dcbab11
feat(kube): reap related resources on delete
9 years ago
Matt Butcher
9fe7f41364
feat(972): add --reuse-name flag to helm install
...
This will allow helm install to re-use names for releases that were
already deleted.
9 years ago
Michelle Noorali
6006fc7b21
Merge pull request #963 from michelleN/feat/690-helm-upgrade
...
feat(*): add upgrade command and validations
9 years ago
Michelle Noorali
f74720613b
chore(helm): add client test for upgrade cmd
...
I edited releaseMock as part of this PR
9 years ago
Michelle Noorali
5e654c0380
feat(*): get helm & tiller chatting about upgrades
9 years ago
Michelle Noorali
e633b4b75a
feat(pkg/helm): fill in proto for UpdateRelease
9 years ago
Matt Butcher
95eeba3805
fix(tiller): merge -f values correctly
...
This fixes a bug in which passed-in values files were not correctly
merged into the chart's default values YAML data. I believe it also
fixes some other prioritization bugs in values merging.
The existing unit test was wrong (see TestCoalesceValues). It is
fixed now. Also added more tests to simulate issue #971 .
In the course of writing this, I removed some vestigial code as
mentioned in #920 .
Closes #971
Closes #920
9 years ago
Adam Reese
57bd8b2c28
feat(*): install releases into namespace
9 years ago
Matt Butcher
a0bc510662
Merge pull request #955 from technosophos/feat/932-disable-hooks
...
feat(helm): add --no-hook to helm install and delete
9 years ago
Matt Butcher
1ff5499be7
feat(helm): add --no-hooks to 'helm delete'
...
This also adds several tests, cleanups to the API, and removal of dead
code.
Relates to #932
9 years ago
Michelle Noorali
80a7339e2f
Merge pull request #947 from ngtuna/master
...
Fix #872 : index function should handle deleted charts correctly
9 years ago
ngtuna
a2d6817b9b
go idiom typo
9 years ago
Matt Butcher
a42b43a9fa
feat(helm): add --no-hook to helm install
...
This includes a substantial bit of unit test improvements. Also, in
order to allow us to tests command line args (which translate to
helm.Option objects), I had to add a new interface to pkg/helm.
9 years ago
Adam Reese
736009982e
ref(helm): fix naming issues from golint
9 years ago
ngtuna
03e59fd6c0
bypass gofmt
9 years ago
Adam Reese
a14e76a65c
chore(*): add canonical import path annotation
...
https://golang.org/doc/go1.4#canonicalimports
9 years ago
ngtuna
bfce033cc0
fix(helm): helm repo index should not delete entry, instead it should update removed=true
9 years ago
Matt Butcher
73a2890277
fix(engine): change template naming
...
Template paths were relative to the chart that contained them, which
meant that all templates were named 'template/SOMETHING'. This made it
trivially easy to hit namespace collisions as in #933 .
Template path names are essentially opaque strings so this patch simply
changes them to be qualified by parent chart.
9 years ago
Michelle Noorali
15b428d450
feat(*): add version to release
...
laying ground work for #690
9 years ago
Matt Butcher
e91bbceff2
Merge pull request #916 from technosophos/feat/901-hooks
...
feat(tiller): support hooks for install
9 years ago
Matt Butcher
ff32062ae8
feat(tiller): support hooks for install
9 years ago
Adnan Abdulhussein
631ca63040
Merge pull request #922 from prydonius/feat/836-lint-multiple-charts
...
feat(lint): support linting multiple charts
9 years ago
Adnan Abdulhussein
f273510c97
fix(lint): fix golint errors
9 years ago
Adam Reese
d5aa4852a7
Merge pull request #921 from adamreese/ref/command-tests
...
ref(cmd): refactor cmd for unit testing
9 years ago
Adnan Abdulhussein
03ca4e892f
feat(lint): support linting multiple charts
9 years ago
Miguel Martinez
3b2ea04348
fix(linter) Typos
9 years ago
Adam Reese
5013da3d25
fix(helm): add ReleaseContent to interface
9 years ago
Adam Reese
73f1bef3c9
test(cmd): add helm client mocking
9 years ago
Matt Butcher
310ef9bbcb
fix(helm): fix linter test panic
...
Handle a previously unhandled error in the linter. This simply bails out
if a chart's values files do not parse.
Also, changed the implementation of CoalesceValues to return a map even
on error.
9 years ago
Miguel Ángel Martínez Triviño
81fd9edf4d
Merge pull request #899 from migmartri/897-values-refactorign
...
Support Linter for Values namespace
9 years ago
Adnan Abdulhussein
9b257077d5
Merge pull request #915 from prydonius/fix/912-nil-map-readvalues
...
fix(chartutil): Ensure ReadValues doesn't return a nil map
9 years ago
Adnan Abdulhussein
4ef61a7136
fix(chartutil): Ensure ReadValues doesn't return a nil map
9 years ago
Adnan Abdulhussein
bcd1889083
Merge pull request #907 from prydonius/906-linter-exit-status
...
fix(lint): Return non-zero exit status when lint errors present
9 years ago
Matt Butcher
cd75b6a781
Merge pull request #902 from technosophos/feat/894-template-info-in-templates
...
feat(tiller): add .Template object in templates
9 years ago
Adnan Abdulhussein
09f56459c7
Improve tests to ensure highest severity is retained
9 years ago
Adnan Abdulhussein
77820c7482
fix(lint): Return non-zero exit status when lint errors present
9 years ago
Michelle Noorali
849afc29bc
Merge pull request #908 from michelleN/feat/836-lint-archived-chart
...
feat(lint): lint an archived chart
9 years ago
Michelle Noorali
a64303d0bf
feat(lint): lint an archived chart
...
* part of #836
9 years ago
Miguel Martinez
12aa72f121
Replacing options interface argument
9 years ago
Matt Butcher
532f03ec78
feat(tiller): add .Template object in templates
...
This allows templates to access information about the template file.
Right now, the template can only access the .Template.Name, which is the
chart-relative path to the current template.
Closes #894
9 years ago
Matt Butcher
2c07a32a6b
fix(*): fix various style issues from make test-style
...
Closes #847 .
9 years ago
Miguel Martinez
7bb4893cad
Support Linter for Values
9 years ago
Michelle Noorali
bb875b5657
Merge pull request #896 from michelleN/fix/892-fetch-untar
...
fix(chartutil): fix chartutil.Expand function
9 years ago
Matt Butcher
ab4e20c278
Merge pull request #888 from technosophos/fix/887-no-value-fix
...
fix(tiller): stop printing <no value> when var is missing
9 years ago
Michelle Noorali
bcffe8a3f2
fix(chartutil): fix Expand function
...
This ensures that all necessary directories
get created when expanding a chart in the
chartutil.Expand function. fixes #892
9 years ago
Matt Butcher
2084af2e04
Merge pull request #885 from migmartri/882-linter-improvements
...
Adding squote test case and generic message
9 years ago