Commit Graph

192 Commits (main)

Author SHA1 Message Date
Benoit Tigeot a9b7732367
could remove embedded field X from selector
1 year ago
Benoit Tigeot cbaac7652d
Call slog directly instead of using a wrapper
1 year ago
Benoit Tigeot 0c85456788
Leverage slog.Any for errors
1 year ago
Benoit Tigeot b2380720eb
Migrate to pure slog without a custom wrapper
1 year ago
Benoit Tigeot 3db7ebc591
Fix missing logger to SQL in test
1 year ago
Benoit Tigeot b42767be40
Migrate more code to log adapter
1 year ago
Benoit Tigeot 83cdffe4ae
Migrate to a dedicated internal package for slog adapter + migrate more
1 year ago
Benoit Tigeot fae2345edf
Demonstrate the impact of having Logger defined in kube package
1 year ago
linghuying fc476f7235 chore: make function comment match function name
1 year ago
Matt Farina e711488970
Move pkg/release to pkg/release/v1 to support v3 charts
1 year ago
petercover 605b1a0cf7 chore: fix some comments
2 years ago
Matt Farina 2236294119 Updating to helm.sh/helm/v4
2 years ago
Justen Stall 62b5bdc9f6
restore error check in secrets.go
2 years ago
Justen Stall 63cf42a843
fix: replace "github.com/pkg/errors" with stdlib "errors" package
2 years ago
Trent V. f9183a522a
Merge branch 'helm:main' into main
2 years ago
Nathan Baulch ef85fa7f2d
Grammar fixes
2 years ago
Nathan Baulch ff9dd262e3
Fix typos
2 years ago
Robert Sirchia d58d7b3762 Fixing all the linting errors
2 years ago
Trenton VanderWert ab640a7177
added sprintf solution and found other possible overflow occurences
3 years ago
Trenton VanderWert 4a45342887
changed Iota to FormatInt to allow int64 value preventing 2038 overflow
3 years ago
Matt Farina 847369c184
Update to Go 1.21 for builds
3 years ago
Dmitry Chepurovskiy 250f0bd46e
Drop filterSystemLabels usage from Query method
3 years ago
Dmitry Chepurovskiy 0ec47f8ec9
Apply review suggestions
3 years ago
Dmitry Chepurovskiy e6d9b99255
Allow using label selectors for system labels for sql backend.
3 years ago
Dmitry Chepurovskiy e219c756e0
Allow using label selectors for system labels for secrets and configmap
3 years ago
abrarcv170 4199be82b5
Increased release information key name max length.
3 years ago
Maxim Trofimov 4944acb341 fix conflict
3 years ago
Maxim Trofimov 6138e101aa add big tests
3 years ago
Maxim Trofimov 199784f711 fix conflict
3 years ago
Maxim Trofimov b786cb40f0 fix
3 years ago
Maxim Trofimov df5904d88a add check if all migrations already applied
3 years ago
Joe Julian 4ff7d90872
Merge remote-tracking branch 'upstream/main' into add-labels-to-install-upgrade
3 years ago
Dmitry Chepurovskiy 7b13ac9914
Added error in case try to supply custom label with name of system label during install/upgrade
3 years ago
Matt Farina 4e7e939f19
Updating the Go version in go.mod
3 years ago
Matt Farina 50c22ed7f9
Bump the Go version
3 years ago
Dmitry Chepurovskiy 6853c3eab5
Merge remote-tracking branch 'origin/main' into add-labels-to-install-upgrade
4 years ago
Arvid E. Picciani b9f347a574 fixes #11142 missing array length check on release
4 years ago
Dmitry Chepurovskiy 28ab648d3c
Fix flaky TestSQLCreate test by making sqlmock ignore order of sql requests
4 years ago
Dmitry Chepurovskiy 512970ab40
Fixing tests after adding labels to release fixture
4 years ago
Dmitry Chepurovskiy 2f29ccb9d0
Make default release fixture contain custom labels to make tests check that labels are not lost
4 years ago
Dmitry Chepurovskiy 68721de93d
Added support for storing custom labels in SQL storage driver
4 years ago
Dmitry Chepurovskiy 083e66fe2b
Remove redudant types from util_test.go
4 years ago
Dmitry Chepurovskiy 3a2ed70bd3
Added tests for newly introduced util.go functions
4 years ago
Dmitry Chepurovskiy c7eedbd9c5
Fix broken tests for SQL storage driver
4 years ago
Dmitry Chepurovskiy 95bb77c261
Fix broken tests for configmap and secret storage drivers
4 years ago
Dmitry Chepurovskiy 627ec6a0c6
Make superseded releases keep labels
4 years ago
Dmitry Chepurovskiy ff3e55f655
Support configmap storage driver for install/upgrade actions --labels argument
4 years ago
Dmitry Chepurovskiy 6ef79e432b
Add labels support for install action with secret storage backend
4 years ago
Martin Hickey ed7b6c4761
Merge pull request #8470 from mikeshng/sql-query-fix
5 years ago
Adam Reese db2aa1a8d6
fix(ci) update ci to use main branch
5 years ago
Josh Soref 2bf8fdf45d
chore: Spelling (#9410)
5 years ago
Mike Ng 3be333b73b keep existing behavior of returning ErrReleaseNotFound when release(s) failed to decode
6 years ago
Dmitry Chepurovskiy 09172b468a
Fix linting issues
6 years ago
Dmitry Chepurovskiy 357a0785bc
Added selector filtering
6 years ago
Dmitry Chepurovskiy 99bd709530
Pass labels from secret/configmap to release object
6 years ago
Haoming Zhang b6bbf34097
Close gzip reader when done.
6 years ago
Mike Ng b86105aebc fix(sql storage): Query() should return ErrReleaseNotFound immediately when no records are found
6 years ago
Matthew Morrissette 1911870958
fix(helm): allow a previously failed release to be upgraded (#7653)
6 years ago
Elliot Maincourt 21d2aa7f2b
Migrate SQL storage driver to Helm 3 (#7635)
6 years ago
Matt Farina a3fa01ff8b
Merge pull request #7640 from yinzara/bugfix/issue-7002
6 years ago
Adam Reese e1d046bc43
fix(tests): fix broken unit tests in storage (#7928)
6 years ago
Lu Fengqi 9e1f381bf2
Add unit test for Secrets/ConfigMaps (#7765)
6 years ago
Adam Reese c2da4fd53d
ref(*): kubernetes v1.18 (#7831)
6 years ago
tiendc 26830942d2
Fix a bug in Delete() in storage/driver/cfgmaps.go (#7367)
7 years ago
tiendc 06bc18c624
Fix a bug in storage/driver/secrets.go Delete() (#7348)
7 years ago
Zhou Hao f5da6bd3d6 add unit test for RecordsReplace
7 years ago
Zhou Hao ae508ebd1c add unit test for ConfigMapDelete
7 years ago
Zhou Hao 95d7f36d41 add unit test for SecretDelete
7 years ago
Matt Morrissette 1ab52fa79c
fix(helm): stdin values for helm upgrade --install
7 years ago
Zhou Hao f1f661d4ca pkg/storage/records: add unit test for Exists
7 years ago
Zhou Hao c96aff6a43 pkg/storage/records: add unit test for Index
7 years ago
Zhou Hao 6b1eebd23a pkg/storage/records: add unit test for Get
7 years ago
Matthew Fisher 8e1fc4bc6f
fix(memory_test): rebase master
7 years ago
Marc Khouzam e6d2d10bad fix(tests): Add namespace support to memory driver
7 years ago
Matthew Fisher 98962dce3f
Merge pull request #7349 from tiendc/unit_test_memory_list
7 years ago
Martin Hickey 88f42929d7
Remove references to protobuf (#7425)
7 years ago
Dao Cong Tien 476ffaea8c Add unit test for List() of pkg/storage/driver/memory.go
7 years ago
Josh Soref 02ad2b1187 Spelling (#7258)
7 years ago
Karuppiah Natarajan bfd8250803 fix list not showing multiple releases with same name in different namespaces (#6756)
7 years ago
Matt Farina 9bc7934f35
Updating the module for v3 as the major version
7 years ago
Martin Hickey caa26c4bb2
Change release storage name to use helm storage type as prefix (#6500)
7 years ago
Adam Reese b2d5e41fc7
ref(*): remove dead code
7 years ago
Adam Reese 895e9192d4
feat(*): use vanity import helm.sh/helm
8 years ago
Matthew Fisher 2571dbf82f
ref: remove pkg/helm, pkg/hapi, pkg/tiller
8 years ago
Adam Reese e51a9b90c9
Merge pull request #5284 from adamreese/v3/make-format
8 years ago
Martin Hickey 45fb4b1c44 Fix linter warnings
8 years ago
Adam Reese f791421fab
feat(Makefile): add formatting target
8 years ago
Adam Reese 3be0d81da7
ref(driver): refactor out function type errors
8 years ago
Adam Reese 4f26b658d8
change copyright to "Copyright The Helm Authors"
8 years ago
Matthew Fisher 195d21d5d7
ref(cmd): rename `helm delete` to `helm uninstall`
8 years ago
Adam Reese b1128abf4f
ref(*): s/tiller/helm/
8 years ago
Adam Reese 726e3c41be
feat(*): print stacktrace on error with debug enabled
8 years ago
Adam Reese 3b9596c6ab
ref(*): convert const types to strings
8 years ago
Adam Reese 19398a2ef1
feat(*): store release History in same namespace as release
8 years ago
Adam Reese c5a76deba3
ref(*): use go conventions for naming types
8 years ago
Adam Reese 6345f04190
ref(hapi): convert protobuf to go types
8 years ago
Adam Reese fc4c095cf0
ref(*): remove pkg/kubernetes from tiller and storage
8 years ago
Adam Reese c314e2e2f1
fix(plugins): support newer git (#3571)
9 years ago
Adam Reese a31e3b8fe1
ref(*): kubernetes v1.9 support (#3234)
9 years ago
Andrey Klimentyev cfb7dfa82c
Typo fix
9 years ago