Commit Graph

601 Commits (main)

Author SHA1 Message Date
Jesse Simpson 96b4c363c8
fix: Update returns nil on error, test should reflect this
10 months ago
Benoit Tigeot 7097c8e2e5
Replicate as unit test case where we fail once a resource deletion
10 months ago
Benoit Tigeot 054eabddd7
Return errors on upgrade when deletion fails
10 months ago
Dirk Müller 9cd40c612a
Avoid accessing .Items on nil object
10 months ago
Matt Farina fbf02e494e
Merge pull request #30980 from gjenkins8/gjenkins/cleanup_kubeclient_interfaces
10 months ago
George Jenkins c75026c318 doc string
10 months ago
George Jenkins 1581eaa034
Apply suggestions from code review
10 months ago
George Jenkins b861de5696
Update pkg/kube/interface.go
10 months ago
George Jenkins 61e3d95a94
Merge pull request #31143 from TerryHowe/fix-remove-redundant-error-check
11 months ago
juejinyuxitu 69dbd6115e chore: fix some typos in comment
11 months ago
George Jenkins b5de5b1591 chore: Cleanup additional/redundant kube client Interfaces
11 months ago
Stephanie Hohenberg e19d9fb6ee Refactor unreachableKubeClient for testing into failingKubeClient
11 months ago
tzchenxixi 89aca09e5e chore: fix function name
12 months ago
George Jenkins ebc874ef84 fix client-side to server-side field manager migration
12 months ago
George Jenkins b4b2392f7e mergefix
1 year ago
George Jenkins e2dcbe28bf Helm client/SDK support server-side apply
1 year ago
Terry Howe 1e22b2fe7c
fix: remove redundant error check
1 year ago
George Jenkins b2dc411f9d code review (error checks, collapse forceConflicts, UpdateApplyFunc)
1 year ago
George Jenkins 99dc23f00b switch target<->original
1 year ago
George Jenkins 741facca43 Update pkg/kube/client_test.go
1 year ago
George Jenkins 45141451b4 Kube client support server-side apply
1 year ago
Pavani Pogula 6597fecce3 test(pkg/kube/wait): Add unit tests for waitForPodSuccess, waitForJob and SelectorsForObject.
1 year ago
Pavani Pogula d4ed9210df test(pkg/kube/roundtripper): Add unit tests for roundtripper.go
1 year ago
Atish Kumar 008bd7fc82
test(pkg/kube/client): add test for isReachable
1 year ago
curlwget bfc1af68fb chore: fix function in comment
1 year ago
Terry Howe 744c6b5a97
fix: kube client create mutex
1 year ago
Scott Rigby de745ea34b
Merge pull request #12581 from Nordix/considerAllGroupVersionKind
1 year ago
Matthieu MOREL 56a2bb4188 chore: enable usetesting linter
1 year ago
Robert Sirchia 1b21f04b3b
Merge pull request #30865 from mmorel-35/github.com/evanphx/json-patch/v5
1 year ago
Matthieu MOREL 157f0ba10a chore: enable thelper
1 year ago
Matthieu MOREL 706392fabb fix: update json-patch import path and add gomodguard settings
1 year ago
MichaelMorris 1460ebd14a Added test case to resource_test.go
1 year ago
MichaelMorris 9a2ac85077 Consider GroupVersionKind when matching resources
1 year ago
Robert Sirchia 4d580c6b95
Merge pull request #30810 from mmorel-35/usestdlibvars
1 year ago
Terry Howe 71787cca60 fix: rename slave replica
1 year ago
Matthieu MOREL 77a267dacf chore: enable usestdlibvars linter
1 year ago
Justen Stall fc6c5e5edb
remove WaitAndGetCompletedPodPhase function
1 year ago
Justen Stall 3877ec9049
fix golangci-lint issues
1 year ago
Justen Stall 280a9ddbdb
Merge branch 'main' into stdlib-errors-2
1 year ago
Scott Rigby 599fad1864
Merge pull request #30697 from p-se/fix-take-ownership
1 year ago
Evans Mungai 1f5605a405
fix formatting errors
1 year ago
Evans Mungai e8e79cc4b4
Merge branch 'main' into fix-take-ownership
1 year ago
Evans Mungai 7c37a109f2
Add install test for TakeOwnership flag
1 year ago
Benoit Tigeot eb65ce280b
could apply De Morgan's law
1 year ago
Benoit Tigeot a9b7732367
could remove embedded field X from selector
1 year ago
Benoit Tigeot f5aec508f5
Add detailed debug logging for resource readiness states
1 year ago
Benoit Tigeot c05bcbd498
Fix nil pointer dereference in ready test
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 5580f61157
Properly reproduce the nopLogger as before
1 year ago
Benoit Tigeot b2380720eb
Migrate to pure slog without a custom wrapper
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 3a22df9731
Deal with linting errors
1 year ago
Benoit Tigeot 394ba2d55e
Properly use DefaultLogger
1 year ago
Benoit Tigeot eb2dfe7dbf
Some interesting rephrasing by Terry Howe
1 year ago
Benoit Tigeot 227d270788
Extra comment + Default logger fallback
1 year ago
Benoit Tigeot b642bca8f6
Provide an adapter to easily pass a slog.Default()
1 year ago
Benoit Tigeot d6d7cff417
Try to make log more common and more easily grepable
1 year ago
Benoit Tigeot 8d30464f2c
Do no mask warning alerts
1 year ago
Benoit Tigeot dfaf249221
Remove unreachable error
1 year ago
Benoit Tigeot f4631bf3d8
Migrate kube package to slog
1 year ago
Patrick Seidensal e55707b09d
Fix --take-ownership
1 year ago
Scott Rigby 985f5af538
Merge pull request #13604 from AustinAbro321/refactor-wait
1 year ago
Scott Rigby 122e7b441a
Merge pull request #13458 from thudi/main
1 year ago
Austin Abro 21ee721242
go fmt
1 year ago
Austin Abro 8efd428e5d
switch back to k8s rest mapper
1 year ago
Austin Abro 83266254f0
merge
1 year ago
Austin Abro 386523bdbc
update to get waiter instead of set
1 year ago
Benoit Tigeot 4f4c858f9c
Ignore unused parameter
1 year ago
Benoit Tigeot 94cb21c7c4
Follow convention for error with slog.Any()
1 year ago
Benoit Tigeot e3e84b6dfe
"beginning wait" is dedicated to be display as debug log
1 year ago
Benoit Tigeot 0e4d185370
Inform about time spent waiting resources to be ready in slog format
1 year ago
Austin Abro 10f78c814c
legacy waiter
1 year ago
Austin Abro 600947b32e
client->restmapper
1 year ago
Austin Abro 3a296aacad
rest mapper
1 year ago
Austin Abro 24dc643822
restmapper
1 year ago
Austin Abro 09faaac273
merge
1 year ago
Robert Sirchia 4da004e2dc
removing old apis
1 year ago
Austin Abro 29c250c233
add back interface log check
1 year ago
Austin Abro a18589c4d8
fmt
1 year ago
Austin Abro 5a254dae21
cleanup
1 year ago
Austin Abro 11eeb4a6b1
merge
1 year ago
Austin Abro 4f33e5c97f
test refactoring
1 year ago
Austin Abro 75292c5e04
refactor
1 year ago
Austin Abro b79dfd09b0
refactor
1 year ago
Scott Rigby 2cda65d444
Merge pull request #10309 from Bez625/main
1 year ago
Robert Sirchia 8dd279271e
remove unused config.go
1 year ago
Chris Berry 6d30fa5990 Add HookOutputFunc and generic yaml unmarshaller
1 year ago
Chris Berry 3d4e679d9f Update based on review comments
1 year ago
Chris 3964f84ac8 Tidy up imports
1 year ago
Chris Berry cde407b7d1 Add hook annotations to output pod logs to client on success and fail
1 year ago
Robert Sirchia 8207fafe13
fixing error handling from a previous PR
1 year ago
Austin Abro ea87c49d1b
print
2 years ago
Austin Abro efde830405
better name
2 years ago
Austin Abro ecd5316577
lint
2 years ago
Austin Abro 5d12255497
wait for delete
2 years ago
Austin Abro 7fde4962a8
set waiter in functions
2 years ago
Austin Abro 978d5a3318
lint
2 years ago
Austin Abro f2dd2c9109
add hook only waiter
2 years ago
Austin Abro 2b03c527f1
set command line flags
2 years ago
wangjingcun 8b8cc94822 Use a more direct and less error-prone return value
2 years ago
Austin Abro bd3b5ee5d0
comment
2 years ago
Austin Abro 7207565e12
lint
2 years ago
Austin Abro f866409c50
move statusreaders to it's own package
2 years ago
Austin Abro 14391dea5b
pods and jobs working
2 years ago
Austin Abro d1cc9b39a3
tests for status reader
2 years ago
Austin Abro 187e99d299
custom status readers look good
2 years ago
Austin Abro f49a7e134a
start watch until ready
2 years ago
Austin Abro cc83b7c2e6
tests passing
2 years ago
Austin Abro 0314135290
tests passing
2 years ago
Austin Abro b9cbc93003
tests passing
2 years ago
Austin Abro 59ef43e399
tests passing
2 years ago
Austin Abro bbe3246f0a
tests passing
2 years ago
Austin Abro a590999323
switch client
2 years ago
Austin Abro a8f53f98ee
WIP custom status reader
2 years ago
George Jenkins d637595735 chore: Remove unused `WaitAndGetCompletedPodPhase`
2 years ago
Austin Abro f1b642cb0d
unexport newWaiter function
2 years ago
Austin Abro 916aecf1f1
Merge remote-tracking branch 'origin/main' into refactor-wait
2 years ago
Austin Abro cf51d714e8
go fmt
2 years ago
Austin Abro 4e12f9d530
simplify messages
2 years ago
Austin Abro e56a6e678f
diff
2 years ago
Austin Abro a859742e28
remove rest mapper
2 years ago
Austin Abro c2dc44deb9
use dynamic rest mapper
2 years ago
Austin Abro 9894d3ae78
shorten interface
2 years ago
Austin Abro 8fe66998bf
refactor obj logic
2 years ago
Austin Abro f9736d9022
renames
2 years ago
Austin Abro d07f546003
get rid of rest client
2 years ago
Austin Abro eaa6e14546
test cleanup
2 years ago
Austin Abro 674ab0d4f6
t.Parrallel
2 years ago
Austin Abro e9d9854364
introduce test for status wait
2 years ago
Austin Abro 71434c0b38
implement logger
2 years ago
Austin Abro 649475265d
implement logger
2 years ago
Austin Abro c26b44f651
update names
2 years ago
Austin Abro 8ce1876192
get rid of ext interface
2 years ago
Austin Abro e6c6a40fe0
general error message
2 years ago
Austin Abro 6b68a00440
change error messages
2 years ago
Austin Abro ac9012577a
status function
2 years ago
Austin Abro b8bdcc3a2b
Helm waiter
2 years ago
Austin Abro 4c97d1276c
helm waiter
2 years ago
Austin Abro 86338215b7
ability to create different waiters
2 years ago
Austin Abro cb6d48e6ae
status wait
2 years ago
Austin Abro 4dd6e19b1d
provide path for creating new legacy waiter
2 years ago
Austin Abro 2cb999d72b
go fmt
2 years ago
Austin Abro c3eeab67f9
merge
2 years ago
Austin Abro 4b59583670
delete wait and get completed phase
2 years ago
Jiasheng Zhu f5d488122b fix: check group for resource info match
2 years ago
Austin Abro db90b17484
unknown status
2 years ago
Austin Abro 4dbdd7ce10
wait for delete working
2 years ago
Austin Abro 9b63459bec
save state while I change up tests
2 years ago