Dmitry Chepurovskiy
250f0bd46e
Drop filterSystemLabels usage from Query method
...
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
1 year ago
Dmitry Chepurovskiy
e219c756e0
Allow using label selectors for system labels for secrets and configmap
...
backends.
Fixes #12435
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
1 year ago
Joe Julian
4ff7d90872
Merge remote-tracking branch 'upstream/main' into add-labels-to-install-upgrade
1 year ago
Matt Farina
50c22ed7f9
Bump the Go version
...
Needed to gofmt source to meet changes in style
Signed-off-by: Matt Farina <matt.farina@suse.com>
2 years ago
Dmitry Chepurovskiy
512970ab40
Fixing tests after adding labels to release fixture
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
2 years ago
Dmitry Chepurovskiy
95bb77c261
Fix broken tests for configmap and secret storage drivers
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
2 years ago
Dmitry Chepurovskiy
627ec6a0c6
Make superseded releases keep labels
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
2 years ago
Dmitry Chepurovskiy
ff3e55f655
Support configmap storage driver for install/upgrade actions --labels argument
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
2 years ago
Dmitry Chepurovskiy
357a0785bc
Added selector filtering
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
4 years ago
Dmitry Chepurovskiy
99bd709530
Pass labels from secret/configmap to release object
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
4 years ago
Adam Reese
c2da4fd53d
ref(*): kubernetes v1.18 ( #7831 )
...
Upgrade Kubernetes libraries to v0.18.0
Add new lazy load KubernetesClientSet to avoid missing kubeconfig error
In kubernetes v1.18 kubeconfig validation was added. Minikube and Kind
both remove kubeconfig when stopping clusters. This causes and error
when running any helm commands because we initialize the client before
executing the command.
Signed-off-by: Adam Reese <adam@reese.io>
5 years ago
tiendc
26830942d2
Fix a bug in Delete() in storage/driver/cfgmaps.go ( #7367 )
5 years ago
Martin Hickey
88f42929d7
Remove references to protobuf ( #7425 )
...
Remove references to protobuf and update description of release
object stored representation to Helm v3.
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
5 years ago
Matt Farina
9bc7934f35
Updating the module for v3 as the major version
...
Signed-off-by: Matt Farina <matt@mattfarina.com>
5 years ago
Adam Reese
895e9192d4
feat(*): use vanity import helm.sh/helm
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Matthew Fisher
2571dbf82f
ref: remove pkg/helm, pkg/hapi, pkg/tiller
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Adam Reese
f791421fab
feat(Makefile): add formatting target
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
3be0d81da7
ref(driver): refactor out function type errors
...
Signed-off-by: Adam Reese <adam@reese.io>
6 years ago
Adam Reese
4f26b658d8
change copyright to "Copyright The Helm Authors"
6 years ago
Adam Reese
b1128abf4f
ref(*): s/tiller/helm/
7 years ago
Adam Reese
726e3c41be
feat(*): print stacktrace on error with debug enabled
7 years ago
Adam Reese
3b9596c6ab
ref(*): convert const types to strings
7 years ago
Adam Reese
c5a76deba3
ref(*): use go conventions for naming types
7 years ago
Adam Reese
6345f04190
ref(hapi): convert protobuf to go types
7 years ago
Adam Reese
fc4c095cf0
ref(*): remove pkg/kubernetes from tiller and storage
7 years ago
Adam Reese
a31e3b8fe1
ref(*): kubernetes v1.9 support ( #3234 )
7 years ago
Andrey Klimentyev
cfb7dfa82c
Typo fix
7 years ago
Remington Reackhof
9af1018bd3
Add secrets storage backend for releases
7 years ago
Justin Scott
fa68a6e1db
fix(tiller): remove locking system from storage and rely on backend controls
...
Tiller currently hangs indefinitely when deadlocks arise from certain
concurrent operations. This commit removes the nested mutex locking
system from pkg/Storage and relies on resource contention controls in k8s.
Closes #2560
7 years ago
Adam Reese
15254e4c5c
feat(*): add generic logging interface ( #2394 )
...
Adds a generic logging interface to importable packages.
8 years ago
Adam Reese
85c41ef11a
ref(*): kubernetes v1.6
...
Rebase on kubernetes v1.6
8 years ago
Sushil Kumar
000bf9fd1a
Added release-name to helm delete error
...
Fixes https://github.com/kubernetes/helm/issues/2251
In case a user tries to delete a non-existent release,
the error message displayed was missing release-name.
8 years ago
Adam Reese
d4061b5b60
fix(tiller): enforce release name length on uninstall
...
If a selector is created from invalid values it will return nil.
Which is EVERYTHING!!!
closes : #2115
8 years ago
dongziming
34d7585f1e
Spelling errors and so on.
8 years ago
Adam Reese
ea3be9e3b2
feat(*): migrate to kubernetes 1.5
8 years ago
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
f77435e686
fix(helm-list): only list configmaps owned by TILLER
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
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
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