Commit Graph

601 Commits (main)

Author SHA1 Message Date
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
2 years 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
Austin Abro 265442c5eb
simplify things
2 years ago
Austin Abro 28a9183ee3
context
2 years ago
Austin Abro b337790c10
paused as ready
2 years ago
Austin Abro e18f22071d
paused as ready now working
2 years ago
Austin Abro 22af71f125
comments
2 years ago
Austin Abro 7b896df4d1
option to wait for jobs
2 years ago
Austin Abro a6e5466942
refactor test
2 years ago
Austin Abro 807cc925f5
refactor test
2 years ago
Austin Abro 947425ee64
refactor new
2 years ago
Austin Abro aacaa08be2
only emebed waiter
2 years ago
Austin Abro 859ff9b548
change structure of client
2 years ago
Austin Abro ad1f1c02ef
cleanup test
2 years ago
Matt Farina 2236294119 Updating to helm.sh/helm/v4
2 years ago
Austin Abro 4564b8f712
make a working test
2 years ago
Austin Abro 4c1758143f
basic design up and balling
2 years ago
Austin Abro a61a35240e
understand it better
2 years ago
Austin Abro 6f7ac066ae
extending factory to enable getting a watcher
2 years ago
Austin Abro 2f44164fc6
Merge branch 'refactor-wait' of github.com:AustinAbro321/helm into refactor-wait
2 years ago
Matt Farina 5727f56a96
Update to Go 1.23
2 years ago
Austin Abro 41700f0248
WIP
2 years ago
Justen Stall 7df69020d8
revert duplicate slice conditions
2 years ago
Justen Stall b0944e8e7e
fix incorrect error return
2 years ago
Justen Stall 63cf42a843
fix: replace "github.com/pkg/errors" with stdlib "errors" package
2 years ago
KISHOREKUMAR THUDI 2c8cfaea41 Replacing NewSimpleClientSet to NewClientSet due to deprecation
2 years ago
Alex Johnson 9fd943b481 Add tests to `helm/pkg/kube/client_test.go` to cover `wait.go`
2 years ago
Robert Sirchia 7e6b34d7dd
removing duplicate empty test
2 years ago
Robert Sirchia 16a4e37f20
fixing unit test as per Matt
2 years ago
Robert Sirchia a205af755e
adding more unit test
2 years ago
Robert Sirchia 999b85145a
adding test coverage for ready.go
2 years ago
Matt Farina 8f59c8e807
Merge pull request #9713 from andreaskaris/issue9710
2 years ago
Andreas Karis 79a1f2c801
fix(helm): Retry Conflict error for createResource, deleteResource
2 years ago
Luis Davim ab3c589809 chore: Make retryingRoundTripper type public
2 years ago
Nathan Baulch ef85fa7f2d
Grammar fixes
2 years ago
Nathan Baulch ff9dd262e3
Fix typos
2 years ago
Joe Julian ff4877e696
Merge pull request #13224 from sttts/sttts-fix-apiext-registration
2 years ago
Matt Farina c261d0655c
Merge pull request #12876 from manno/sdk-ignore-missing-annotations
2 years ago
Dr. Stefan Schimanski b9bdeca93b
kube/client: add to global client-go scheme in init func
2 years ago
Matt Farina a753ee7f43
Merge pull request #12866 from robertsirc/Correcting-Linting-Errors
2 years ago
Matt Farina 2dea5bf335
Merge pull request #11790 from Nordix/waitRetry
2 years ago
Mario Manno a7856c0398 Add ability to adopt unmanaged resources
2 years ago
Robert Sirchia d58d7b3762 Fixing all the linting errors
2 years ago
Matt Farina c042264a9d
Fix issues when verify generation readiness was merged
3 years ago
Matt Farina b299359f66
Merge pull request #10920 from muang0/readiness-generation-check
3 years ago
Matt Farina 847369c184
Update to Go 1.21 for builds
3 years ago
Serge Logvinov b0d163771e feat: print failed hook name
3 years ago
Joe Julian eb4edc96c5
Merge pull request #10965 from mattfarina/factory-comment
3 years ago
Joe Julian 02ef594a43
Merge pull request #11591 from ruanxin/use_wrapped_error
3 years ago
Stefan McShane 1a3e9a95dd addressing comment
3 years ago
MichaelMorris d2cf8c66f1 Updated for review comments
3 years ago
MichaelMorris fc74964f8a Add robustness to wait status checks
3 years ago
Joe Julian 99e1dce8c8
Merge pull request #9950 from jeffrosenberg/error-on-failed-jobs-9285
3 years ago
Joe Julian dcd54d59e6
Merge branch 'main' into readiness-generation-check
3 years ago
Matt Farina 8b19f8df0e
Adding details on the Factory interface
3 years ago
Matt Farina b81428919b
Merge pull request #12015 from yann-soubeyrand/bump-k8s-io-deps
3 years ago
Matt Farina 3b74c13768
Merge pull request #11479 from MichaelMorrisEst/cascade
3 years ago
Tom Wieczorek b9361407a3
Bump k8s.io deps from v0.26.0 to v0.27.0
3 years ago
Matt Farina cf3d2531a8
Merge pull request #11898 from willzgli/waitbatchPerform
3 years ago
Aman Nijhawan eea2f27bab
Fixes Readiness Check for statefulsets using partitioned rolling update. (#11774)
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
willzgli 11150cdcc6 Fix goroutine leak in perform
3 years ago
muang0 141fa4a037
Update pkg/kube/ready.go
4 years ago
muang0 4cb62d1262
Update pkg/kube/ready.go
4 years ago
muang0 dbb21fcf44
Update pkg/kube/ready.go
4 years ago
muang0 fcc03324a6
Update pkg/kube/ready.go
4 years ago
muang0 a1a1aafb7d
Update pkg/kube/ready.go
4 years ago
cpanato 006bc0f39d
update k8s registry domain
4 years ago
MichaelMorris 830d4a9ee9 Add option to support cascade deletion options
4 years ago
Matt Farina 36e18fa6e1
Fix improper use of Table request/response to k8s API
4 years ago
Matt Farina 774c6ce703
Merge pull request #11439 from phoenixsqf/main
4 years ago
Xin Ruan a2b98281a1 Use errors.Is to compare
4 years ago
Soujanya Mangipudi 038cc4a0ca
Merge branch 'main' into main
4 years ago
Xin Ruan f01486a0ef Use wrapped error so that ErrNoObjectsVisited can be compared after return.
4 years ago
Martin Hickey 3974136b6e
Merge pull request #11426 from cenkalti/leader-changed
4 years ago
Andrew Block 269dd247d0
Merge pull request #11300 from porridge/better-logging
4 years ago
Qifan Shen 9d59d92abb use intstr.GetScaledValueFromIntOrPercent instead of the deprecated
4 years ago
Cenk Alti d32c623699 Revert "Tolerate temporary errors from etcdserver"
4 years ago
Davanum Srinivas ebc79fa807
Tolerate temporary errors from etcdserver
4 years ago
Soujanya Mangipudi ffa19a4b5d Addressing review comments - move printing code out of client.go
4 years ago
Soujanya Mangipudi 20e3577543 Addressing review comments:
4 years ago
Soujanya Mangipudi 9d5be803bc feat(helm): Supporting helm3 to show up resource names that were deployed as part of release in helm status command
4 years ago
Marcin Owsiany b7c35d2a0f During deletion, explicitly log already deleted resource name.
4 years ago
James Oden d008340891 ready checker- comment update
4 years ago
James Oden 4f99c86914 ready checker- remove duplicate statefulset generational check
4 years ago
James Oden f067073e23 Merge branch 'main' into readiness-generation-check
4 years ago
Dominic Evans 7c74f1dd02 fix: improve logging & safety of statefulSetReady
4 years ago
Andrew Seigner bd7c97f786 Bump k8s packages from 0.23.6 to 0.24.0
4 years ago
James Oden d94c5094f6 Verify generation in readiness checks
4 years ago
Martin Hickey 292368a64d
Merge pull request #10209 from yxxhero/fix_sa_issue
5 years ago
yxxhero f82896b0b5 add more debug msg when helm upgrade
5 years ago
Matthew Fisher 67f92d63fa
Merge pull request #9640 from wangchenglong01/wangchl01
5 years ago
Bhavin Gandhi c3310bb724 fix(pkg/kube): statefulSetReady: handle partition cases correctly
5 years ago
Jeff Rosenberg b13f3a13d4
Merge branch 'main' into error-on-failed-jobs-9285
5 years ago
Matt Farina accf82ba1c
Merge pull request #9180 from Moser-ss/feature-handle-SIGINT
5 years ago
Mike Ng 75fe8883cc Rename newly introduced interface to InterfaceExt
5 years ago
Mike Ng d51a61f9ab Introduce a new interface for WaitForDelete() to avoid breaking backwards compatibility
5 years ago
Mike Ng 655bdcd2fd feat: add optional boolean '--wait' flag to 'uninstall' command.
5 years ago
lsowen 249d1b5fb9 Fix SIGSEGV when job.Spec.Completions is nil
5 years ago
Stephane Moser 4bc901c95f Resolve PR comments
5 years ago
Rosenberg, Jeff cd04e3f418 Throw an error from jobReady() if the job exceeds its BackoffLimit
5 years ago