Commit Graph

542 Commits (df8757a6c8a36ccf0a4df625ea3207f4e63f784e)

Author SHA1 Message Date
Austin Abro cc83b7c2e6
tests passing
1 year ago
Austin Abro 0314135290
tests passing
1 year ago
Austin Abro b9cbc93003
tests passing
1 year ago
Austin Abro 59ef43e399
tests passing
1 year ago
Austin Abro bbe3246f0a
tests passing
1 year ago
Austin Abro a590999323
switch client
1 year ago
Austin Abro a8f53f98ee
WIP custom status reader
1 year ago
George Jenkins d637595735 chore: Remove unused `WaitAndGetCompletedPodPhase`
1 year ago
Austin Abro f1b642cb0d
unexport newWaiter function
1 year ago
Austin Abro 916aecf1f1
Merge remote-tracking branch 'origin/main' into refactor-wait
1 year ago
Austin Abro cf51d714e8
go fmt
1 year ago
Austin Abro 4e12f9d530
simplify messages
1 year ago
Austin Abro e56a6e678f
diff
1 year ago
Austin Abro a859742e28
remove rest mapper
1 year ago
Austin Abro c2dc44deb9
use dynamic rest mapper
1 year ago
Austin Abro 9894d3ae78
shorten interface
1 year ago
Austin Abro 8fe66998bf
refactor obj logic
1 year ago
Austin Abro f9736d9022
renames
1 year ago
Austin Abro d07f546003
get rid of rest client
1 year ago
Austin Abro eaa6e14546
test cleanup
1 year ago
Austin Abro 674ab0d4f6
t.Parrallel
1 year ago
Austin Abro e9d9854364
introduce test for status wait
1 year ago
Austin Abro 71434c0b38
implement logger
1 year ago
Austin Abro 649475265d
implement logger
1 year ago
Austin Abro c26b44f651
update names
1 year ago
Austin Abro 8ce1876192
get rid of ext interface
1 year ago
Austin Abro e6c6a40fe0
general error message
1 year ago
Austin Abro 6b68a00440
change error messages
1 year ago
Austin Abro ac9012577a
status function
1 year ago
Austin Abro b8bdcc3a2b
Helm waiter
1 year ago
Austin Abro 4c97d1276c
helm waiter
1 year ago
Austin Abro 86338215b7
ability to create different waiters
1 year ago
Austin Abro cb6d48e6ae
status wait
1 year ago
Austin Abro 4dd6e19b1d
provide path for creating new legacy waiter
1 year ago
Austin Abro 2cb999d72b
go fmt
1 year ago
Austin Abro c3eeab67f9
merge
1 year ago
Austin Abro 4b59583670
delete wait and get completed phase
1 year ago
Jiasheng Zhu f5d488122b fix: check group for resource info match
1 year ago
Austin Abro db90b17484
unknown status
1 year ago
Austin Abro 4dbdd7ce10
wait for delete working
1 year ago
Austin Abro 9b63459bec
save state while I change up tests
1 year ago
Austin Abro 265442c5eb
simplify things
1 year ago
Austin Abro 28a9183ee3
context
1 year ago
Austin Abro b337790c10
paused as ready
1 year ago
Austin Abro e18f22071d
paused as ready now working
1 year ago
Austin Abro 22af71f125
comments
1 year ago
Austin Abro 7b896df4d1
option to wait for jobs
1 year ago
Austin Abro a6e5466942
refactor test
1 year ago
Austin Abro 807cc925f5
refactor test
1 year ago
Austin Abro 947425ee64
refactor new
1 year ago
Austin Abro aacaa08be2
only emebed waiter
1 year ago
Austin Abro 859ff9b548
change structure of client
1 year ago
Austin Abro ad1f1c02ef
cleanup test
1 year ago
Matt Farina 2236294119 Updating to helm.sh/helm/v4
1 year ago
Austin Abro 4564b8f712
make a working test
1 year ago
Austin Abro 4c1758143f
basic design up and balling
1 year ago
Austin Abro a61a35240e
understand it better
1 year ago
Austin Abro 6f7ac066ae
extending factory to enable getting a watcher
1 year ago
Austin Abro 2f44164fc6
Merge branch 'refactor-wait' of github.com:AustinAbro321/helm into refactor-wait
1 year ago
Matt Farina 5727f56a96
Update to Go 1.23
1 year ago
Austin Abro 41700f0248
WIP
1 year ago
Justen Stall 7df69020d8
revert duplicate slice conditions
1 year ago
Justen Stall b0944e8e7e
fix incorrect error return
1 year ago
Justen Stall 63cf42a843
fix: replace "github.com/pkg/errors" with stdlib "errors" package
1 year ago
KISHOREKUMAR THUDI 2c8cfaea41 Replacing NewSimpleClientSet to NewClientSet due to deprecation
1 year ago
Alex Johnson 9fd943b481 Add tests to `helm/pkg/kube/client_test.go` to cover `wait.go`
1 year ago
Robert Sirchia 7e6b34d7dd
removing duplicate empty test
1 year ago
Robert Sirchia 16a4e37f20
fixing unit test as per Matt
1 year ago
Robert Sirchia a205af755e
adding more unit test
1 year ago
Robert Sirchia 999b85145a
adding test coverage for ready.go
1 year ago
Matt Farina 8f59c8e807
Merge pull request #9713 from andreaskaris/issue9710
1 year ago
Andreas Karis 79a1f2c801
fix(helm): Retry Conflict error for createResource, deleteResource
1 year ago
Luis Davim ab3c589809 chore: Make retryingRoundTripper type public
1 year ago
Nathan Baulch ef85fa7f2d
Grammar fixes
1 year ago
Nathan Baulch ff9dd262e3
Fix typos
1 year ago
Joe Julian ff4877e696
Merge pull request #13224 from sttts/sttts-fix-apiext-registration
1 year ago
Matt Farina c261d0655c
Merge pull request #12876 from manno/sdk-ignore-missing-annotations
1 year 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
2 years ago
Matt Farina b299359f66
Merge pull request #10920 from muang0/readiness-generation-check
2 years ago
Matt Farina 847369c184
Update to Go 1.21 for builds
2 years ago
Serge Logvinov b0d163771e feat: print failed hook name
2 years ago
Joe Julian eb4edc96c5
Merge pull request #10965 from mattfarina/factory-comment
2 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
3 years ago
muang0 4cb62d1262
Update pkg/kube/ready.go
3 years ago
muang0 dbb21fcf44
Update pkg/kube/ready.go
3 years ago
muang0 fcc03324a6
Update pkg/kube/ready.go
3 years ago
muang0 a1a1aafb7d
Update pkg/kube/ready.go
3 years ago
cpanato 006bc0f39d
update k8s registry domain
3 years ago
MichaelMorris 830d4a9ee9 Add option to support cascade deletion options
3 years ago
Matt Farina 36e18fa6e1
Fix improper use of Table request/response to k8s API
3 years ago
Matt Farina 774c6ce703
Merge pull request #11439 from phoenixsqf/main
3 years ago
Xin Ruan a2b98281a1 Use errors.Is to compare
3 years ago
Soujanya Mangipudi 038cc4a0ca
Merge branch 'main' into main
3 years ago
Xin Ruan f01486a0ef Use wrapped error so that ErrNoObjectsVisited can be compared after return.
3 years ago
Martin Hickey 3974136b6e
Merge pull request #11426 from cenkalti/leader-changed
3 years ago
Andrew Block 269dd247d0
Merge pull request #11300 from porridge/better-logging
3 years ago
Qifan Shen 9d59d92abb use intstr.GetScaledValueFromIntOrPercent instead of the deprecated
3 years ago
Cenk Alti d32c623699 Revert "Tolerate temporary errors from etcdserver"
3 years ago
Davanum Srinivas ebc79fa807
Tolerate temporary errors from etcdserver
3 years ago
Soujanya Mangipudi ffa19a4b5d Addressing review comments - move printing code out of client.go
3 years ago
Soujanya Mangipudi 20e3577543 Addressing review comments:
3 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
3 years ago
Marcin Owsiany b7c35d2a0f During deletion, explicitly log already deleted resource name.
3 years ago
James Oden d008340891 ready checker- comment update
3 years ago
James Oden 4f99c86914 ready checker- remove duplicate statefulset generational check
3 years ago
James Oden f067073e23 Merge branch 'main' into readiness-generation-check
3 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
4 years ago
yxxhero f82896b0b5 add more debug msg when helm upgrade
4 years ago
Matthew Fisher 67f92d63fa
Merge pull request #9640 from wangchenglong01/wangchl01
4 years ago
Bhavin Gandhi c3310bb724 fix(pkg/kube): statefulSetReady: handle partition cases correctly
4 years ago
Jeff Rosenberg b13f3a13d4
Merge branch 'main' into error-on-failed-jobs-9285
4 years ago
Matt Farina accf82ba1c
Merge pull request #9180 from Moser-ss/feature-handle-SIGINT
4 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
Stephane Moser 4026190e7b Revert change in PrintingKubeClient
5 years ago
Stephane Moser 7bfb2a3602 Improve tests
5 years ago
Matt Farina 21251378b4
Merge pull request #9870 from mattfarina/fix-9859
5 years ago
小龙同学 cf0c6fed51
fix(doc): fix kube client interface doc. (#9882)
5 years ago
Stephane Moser 2fa339b25d Add test for Upgrade Release Interrupted
5 years ago
Matt Farina aeb94798f0
Set Helm as manager for managedFields
5 years ago
Cookie Wang 8959d93711 Add error check to avoid panic
5 years ago
Joe Lanford 98d98369ed
Add ReadyChecker to decouple ready check logic from --wait
5 years ago
James McElwain 54410194a6 closes #9312
5 years ago
Matt Farina f5ef87b96e
Merge pull request #8363 from zh168654/master
5 years ago
Jon Huhn 5d08a0d00e Fix typo
5 years ago
zh168654 bfc575dec2 add waitwithjobs instead of changing wait api
5 years ago
zh168654 957d2a2bf9 add wait-for-jobs flag
5 years ago
zhangye15 bd03e1b5c7 fix style conformance
5 years ago
zhangye15 c96dc48f21 fix test-style error
5 years ago
zh168654 8d498d58e7 add test cases
5 years ago
zh168654 5825112a8b helm upgrade with --wait support jobs in manifest to be completed
5 years ago
Janario Oliveira cf3870a57f Adjusted import
5 years ago
Janario Oliveira 10a29d1662 Reuse kube-client
5 years ago
Matt Farina b7c38c879a Adding support for k8s 1.19
5 years ago
Li Zhijian 4258e8664e Use T.cleanup() to cleanup cmdtest_temp file
5 years ago
Tariq Ibrahim b07b2589fb
optimise if condition in service ready logic
6 years ago
Rajat Jindal 4faeedd98b fix watch error due to elb/proxy timeout
6 years ago
Hidde Beydals 8217aba4a6 fix(kube): use logger instead of fmt.Printf
6 years ago
Matt Farina dbd001e532
Removing tiller language
6 years ago
小明同学 decab8ea2e
fix: upgrade using --force shoud not run patch logic (#8000)
6 years ago
Liu Ming ff3ed53b7c polish to keep the same log style
6 years ago
Adam Reese d5d96ed3cf
Merge pull request #7929 from adamreese/fix/upgrade-results
6 years ago
Adam Reese 4a0dfbe53b
fix(pkg/cli): ensure correct configuration from kubeconfig file
6 years ago
Adam Reese bdf6f48704
fix(pkg/kube): continue deleting objects when one fails
6 years ago
Adam Reese c2da4fd53d
ref(*): kubernetes v1.18 (#7831)
6 years ago
lnattrass c12a9aee02
fix(helm): Data race in kube/client Delete func. (#7820)
6 years ago
Dong Gang 69d9722eda test(helm): fix client update error
6 years ago
Dong Gang c45869c4ad fix(helm): polish goimport
6 years ago
Dong Gang 9744e9f619 fix(helm): respect resource policy on ungrade
6 years ago
Matthew Fisher 64ce6e6a74
Merge pull request #7591 from ylvmw/master
6 years ago
Taylor Thomas 512e1b8bc9
Merge pull request #7401 from hiddeco/non-global-scheme-convert
6 years ago
Taylor Thomas 2cd3d12acd
Merge pull request #7530 from plenus-cloud/fix-7513
6 years ago
ylvmw 54ca879095 IsReachable() needs to give detailed error message.
6 years ago
Hidde Beydals e41184a585 fix(kube): generate k8s native scheme only once
6 years ago
Hidde Beydals b55224ebb9 fix(kube): use non global Scheme to convert
6 years ago
Benn Linger 5e638e3587
Revert "Do not delete templated CRDs"
6 years ago
Federico Bevione af0007c908 fix(helm): improved logs
6 years ago
Federico Bevione 077503f175 fix(helm): Reworded logs for clarity
6 years ago
Matthew Fisher 0dadbdc309
Merge pull request #7373 from Sh4d1/bypass_ns
6 years ago
Federico Bevione 438eaec971 fix(helm): Don't wait for service to be ready when external IP are set
6 years ago
Taylor Thomas c8c0000725
Merge pull request #7409 from akazemis/11414-fix-the-helm-upgrade-force-log-issue
6 years ago
Jakub Bielecki 8fe2097ffe fix(kube) only add to scheme.Scheme once
6 years ago
Ahmad Kazemi 9143223932 unnecessary import removed
6 years ago
Ahmad Kazemi d4c37d33d1 Signed-off-by: Ahmad Kazemi <ahmad.kazemi@recordpoint.com>
6 years ago
Guangwen Feng 0cdbbf287f Fix typo in comment for func IsReachable
6 years ago
Patrik Cyvoct ff0e008558
add option to bypass kubeconfig namespace
6 years ago
Taylor Thomas f35719a62a
Merge pull request #7320 from PhilGrayson/issue-7279
6 years ago
Matthew Fisher 9e4d42e18c
Merge pull request #7245 from waveywaves/fix/crd-install-api-extensions
6 years ago
Phil Grayson 600970459e Do not delete templated CRDs
6 years ago
Guangwen Feng cedd480199 Add corresponding unit test to the function in resource.go.
6 years ago
Adrian Gonzalez-Martin afa612df9d Add back fix for CRD patch creation
6 years ago
Martin Hickey b6e2a14306
fix(kube): Port use of watcher with retries to wait for resources (#7217)
6 years ago
Vibhav Bobade 1c6424cb18 fix(install) crd install with apiextensions.k8s.io/v1
6 years ago