Fabian Ruff
eb4b78bbbe
Add compression to configmap storage driver
...
This commit changes the configmap storage driver to compress
the serialized release before storing it as a base64 encoded string.
This change is backward compatible as it handles existing releases
gracefully by skipping the decompression step when the gzip magic
header is not present.
8 years ago
Matt Butcher
a1f5955a65
fix(tiller): fix nil pointers in error messages
...
There were a few places where error messages were accessing properties
of objects that were nil because of the error.
Closes #1374
8 years ago
fibonacci1729
24fe8643de
ref(*): add sorter/filter utilties to releaseutil
8 years ago
Adam Reese
150fb33c2e
fix(*): prevent testing package from being imported
...
Prevent testing package from being imported into main application
8 years ago
fibonacci1729
e9dd302a9c
feat(helm/cmd): support for retrieving release history
8 years ago
fibonacci1729
f77435e686
fix(helm-list): only list configmaps owned by TILLER
8 years ago
fibonacci1729
83df6ebc4d
feat(rollback-storage): remove extraneous else block and fix type in records_test
8 years ago
fibonacci1729
1d6c16175b
feat(rollback-storage): remove unreachable code from memory
8 years ago
fibonacci1729
b47379ccdc
feat(rollback-storage): golint & removed early return from release server
8 years ago
fibonacci1729
e25732284b
feat(rollback-storage): gofmt, added missing license headers, and canconical import paths
8 years ago
fibonacci1729
383a9c186a
update pkg/storage to support rollback
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
fibonacci1729
9d3a1ed2a7
basic cfgmaps driver tests
8 years ago
fibonacci1729
d5aca1666c
configmaps: style fix
8 years ago
fibonacci1729
94a154b745
more style fixes and cleanup
8 years ago
fibonacci1729
559e9081fb
style fixes and cleanup
8 years ago
fibonacci1729
3dca699410
fix: storage tests
8 years ago
fibonacci1729
7c56882ed9
fix configmaps list, and labels mechanism for future tiller mgmt
8 years ago
fibonacci1729
cba0c6615f
gofmt
8 years ago
fibonacci1729
8c56533a47
configmap tests & some reduction in driver complexity
8 years ago
fibonacci1729
2d95906e1a
wip: cfgmaps storage driver
8 years ago
fibonacci1729
0e26f20268
gofmt, style, and added comments
8 years ago
fibonacci1729
a83425d44b
style & doc comments
8 years ago
fibonacci1729
241cc29883
gofmt
8 years ago
fibonacci1729
c7e3ec7c46
add license to filter.go
8 years ago
fibonacci1729
d458bb7fb9
Change Create to return ErrReleaseExists if release exists
8 years ago
fibonacci1729
fad498e8fd
added / documented common errors
8 years ago
fibonacci1729
967e438bfd
gofmt ...
8 years ago
fibonacci1729
a05b48f320
update driver Queryor interface to reflect list filtering mechanism
8 years ago
fibonacci1729
bfd6712c94
add filtering mechanism to storage and embed Driver directly into Storage
8 years ago
fibonacci1729
061b534885
fix panic in memory_test when release status is nil
8 years ago
fibonacci1729
aff817a1fc
run gofmt
8 years ago
fibonacci1729
4210d60c5e
add storage type to interface with multiple drivers
8 years ago
fibonacci1729
6dd5c9783e
add driver package to encapsulate storage backends
8 years ago
fibonacci1729
943eadec38
move old memory impl. to driver/
8 years ago
Adam Reese
a14e76a65c
chore(*): add canonical import path annotation
...
https://golang.org/doc/go1.4#canonicalimports
8 years ago
Matt Butcher
e757b24aed
fix(*): add license header
8 years ago
Adam Reese
818c878700
chore(*): use k8s.io as the import path
8 years ago
Matt Butcher
1412a88cda
fix(tiller): stop returning deleted releases for list
9 years ago
Matt Butcher
938dbf095a
feat(tiller): stub in release history
...
This provides the basics for the release history feature that
ReleaseStorage needs to support. The implementation for Memory storage
is only partial.
9 years ago
Matt Butcher
f098cb6fb6
fix(*): rewrite import paths
9 years ago
Matt Butcher
627a0e24e8
fix(storage): add mutex to in-memory
...
This adds a RW Mutex on the in-memory storage.
9 years ago
Matt Butcher
c4b2926ce6
fix(*): fix misc style issues
9 years ago
Matt Butcher
dcfd1a4284
fix(storage): use new HAPI for storage
9 years ago
Matt Butcher
0ad4803aa3
fix(storage): Use a CRUD interface
...
Fixes #23
9 years ago
Matt Butcher
fa6a33c349
feat(storage): add basic implementation of storage
...
This is an in-memory storage layer for storing releases. This will be
superseded by the Kubernetes ConfigMap implementtion.
9 years ago