Commit Graph

239 Commits (2b239b84e445a85807fc851d261e6ae9999d364d)

Author SHA1 Message Date
Matt Farina f80cbe43d0 Moved release objects to enable versioning
10 months ago
Siew Kam Onn 1c8d5804e2 Refactor SQL tests to use recentUnixTimestamp for time arguments
11 months ago
Matt Farina 6f957f4922 Move the release util to the versioned directory
11 months ago
Matthieu MOREL 157f0ba10a chore: enable thelper
1 year ago
yetyear 03448d1d79 refactor: use maps.Copy for cleaner map handling
1 year ago
findnature ac8d2f9aed refactor: use slices.Contains to simplify code
1 year ago
Justen Stall 280a9ddbdb
Merge branch 'main' into stdlib-errors-2
1 year ago
Benoit Tigeot a1c2f47c08
avoid using reflect.DeepEqual with errors
1 year ago
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
Matt Farina 18ca7c1002
Move pkg/releaseutil to pkg/release/util
1 year ago
George Jenkins 415c7e10fd
Merge pull request #13516 from TerryHowe/new-lint
2 years ago
petercover 605b1a0cf7 chore: fix some comments
2 years ago
Matt Farina 2236294119 Updating to helm.sh/helm/v4
2 years ago
Terry Howe 569f62e58b chore: fix problems with latest lint
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
Daniel Strobusch 90df4fa4d1
fix docs of DeployedAll
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
Timofey Kirillov da8e7d2532
fix: "... has no deployed releases" error when release history contains only failed releases and history limit reached
4 years ago
longkai 2deb641efd fix(typo): fix typo of storage doc
5 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
Daniel Lipovetsky 00cf10d360
fix(pkg/storage): If storage.Create fails to clean up recent release versions, return an error
6 years ago
Daniel Lipovetsky 8c28da6567
test(pkg/storage): Verify that storage.Create returns an error if it fails to clean up least-recent release versions
6 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
zouyu c6a00e63ef Fix some go-lint warnings
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
Eric Bailey b9445616b5
fix(storage): preserve last deployed revision (#7806)
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)
6 years ago
tiendc 06bc18c624
Fix a bug in storage/driver/secrets.go Delete() (#7348)
6 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
Matt Farina e3675e3312
Merge pull request #7358 from cristiklein/fix/deal-with-correupted-storage-v3
7 years ago
Martin Hickey 88f42929d7
Remove references to protobuf (#7425)
7 years ago
Cristian Klein 1f0582cadc fix(helm): improve handling of corrupted storage
7 years ago
Simon Alling e868cb23c0 ref(pkg/storage): Refactor Deployed and DeployedAll (#7374)
7 years ago
Hu Shuai de9118b879 Fix a typo "update" -> "updates" (#7346)
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