Commit Graph

489 Commits (main)

Author SHA1 Message Date
Matt Farina 2236294119 Updating to helm.sh/helm/v4
9 months ago
Austin Abro 4564b8f712
make a working test
9 months ago
Austin Abro 4c1758143f
basic design up and balling
9 months ago
Austin Abro a61a35240e
understand it better
9 months ago
Austin Abro 6f7ac066ae
extending factory to enable getting a watcher
9 months ago
Austin Abro 2f44164fc6
Merge branch 'refactor-wait' of github.com:AustinAbro321/helm into refactor-wait
9 months ago
Matt Farina 5727f56a96
Update to Go 1.23
9 months ago
Austin Abro 41700f0248
WIP
9 months ago
Justen Stall 7df69020d8
revert duplicate slice conditions
10 months ago
Justen Stall b0944e8e7e
fix incorrect error return
10 months ago
Justen Stall 63cf42a843
fix: replace "github.com/pkg/errors" with stdlib "errors" package
10 months ago
KISHOREKUMAR THUDI 2c8cfaea41 Replacing NewSimpleClientSet to NewClientSet due to deprecation
10 months ago
Alex Johnson 9fd943b481 Add tests to `helm/pkg/kube/client_test.go` to cover `wait.go`
11 months ago
Robert Sirchia 7e6b34d7dd
removing duplicate empty test
11 months ago
Robert Sirchia 16a4e37f20
fixing unit test as per Matt
11 months ago
Robert Sirchia a205af755e
adding more unit test
11 months ago
Robert Sirchia 999b85145a
adding test coverage for ready.go
11 months ago
Matt Farina 8f59c8e807
Merge pull request #9713 from andreaskaris/issue9710
11 months ago
Andreas Karis 79a1f2c801
fix(helm): Retry Conflict error for createResource, deleteResource
11 months ago
Luis Davim ab3c589809 chore: Make retryingRoundTripper type public
12 months 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
1 year ago
Matt Farina a753ee7f43
Merge pull request #12866 from robertsirc/Correcting-Linting-Errors
1 year 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
2 years ago
Stefan McShane 1a3e9a95dd addressing comment
2 years ago
MichaelMorris d2cf8c66f1 Updated for review comments
2 years ago
MichaelMorris fc74964f8a Add robustness to wait status checks
2 years ago
Joe Julian 99e1dce8c8
Merge pull request #9950 from jeffrosenberg/error-on-failed-jobs-9285
2 years ago
Joe Julian dcd54d59e6
Merge branch 'main' into readiness-generation-check
2 years ago
Matt Farina 8b19f8df0e
Adding details on the Factory interface
2 years ago
Matt Farina b81428919b
Merge pull request #12015 from yann-soubeyrand/bump-k8s-io-deps
2 years ago
Matt Farina 3b74c13768
Merge pull request #11479 from MichaelMorrisEst/cascade
2 years ago
Tom Wieczorek b9361407a3
Bump k8s.io deps from v0.26.0 to v0.27.0
2 years ago
Matt Farina cf3d2531a8
Merge pull request #11898 from willzgli/waitbatchPerform
2 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
3 years ago
Andrew Seigner bd7c97f786 Bump k8s packages from 0.23.6 to 0.24.0
3 years ago
James Oden d94c5094f6 Verify generation in readiness checks
3 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
4 years ago
Mike Ng d51a61f9ab Introduce a new interface for WaitForDelete() to avoid breaking backwards compatibility
4 years ago
Mike Ng 655bdcd2fd feat: add optional boolean '--wait' flag to 'uninstall' command.
4 years ago
lsowen 249d1b5fb9 Fix SIGSEGV when job.Spec.Completions is nil
4 years ago
Stephane Moser 4bc901c95f Resolve PR comments
4 years ago
Rosenberg, Jeff cd04e3f418 Throw an error from jobReady() if the job exceeds its BackoffLimit
4 years ago
Stephane Moser 4026190e7b Revert change in PrintingKubeClient
4 years ago
Stephane Moser 7bfb2a3602 Improve tests
4 years ago
Matt Farina 21251378b4
Merge pull request #9870 from mattfarina/fix-9859
4 years ago
小龙同学 cf0c6fed51
fix(doc): fix kube client interface doc. (#9882)
4 years ago
Stephane Moser 2fa339b25d Add test for Upgrade Release Interrupted
4 years ago
Matt Farina aeb94798f0
Set Helm as manager for managedFields
4 years ago
Cookie Wang 8959d93711 Add error check to avoid panic
4 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
5 years ago
Rajat Jindal 4faeedd98b fix watch error due to elb/proxy timeout
5 years ago
Hidde Beydals 8217aba4a6 fix(kube): use logger instead of fmt.Printf
5 years ago
Matt Farina dbd001e532
Removing tiller language
5 years ago
小明同学 decab8ea2e
fix: upgrade using --force shoud not run patch logic (#8000)
5 years ago
Liu Ming ff3ed53b7c polish to keep the same log style
5 years ago
Adam Reese d5d96ed3cf
Merge pull request #7929 from adamreese/fix/upgrade-results
5 years ago
Adam Reese 4a0dfbe53b
fix(pkg/cli): ensure correct configuration from kubeconfig file
5 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
Taylor Thomas ecb55c1de7 fix(wait): Adds support for waiting on v1 apiextensions for CRDs
6 years ago
Fabian Ruff 7f7e90b407 Consider namespace when comparing resources
6 years ago
Matthew Fisher a505f91073
fix(kube): return error when object cannot be patched
6 years ago
Taylor Thomas c69af3d5bd fix(wait): Removes ingress checks
6 years ago
Matthew Fisher 4d5a62303e
fix(kube): replace rather than delete/create
6 years ago
Matthew Fisher 9e9f317cbf
Merge pull request #6608 from bacongobbler/refactor-switch-statement
6 years ago
John Howard 7a22cb88d9 Drop dependency on k8s.io/kubernetes (#6609)
6 years ago
Adam Reese 572b92dc8a
feat(pkg/kube): add openapi validation for k8s objects
6 years ago
Matthew Fisher f55a64240f
ref(wait): remove versioned type, use unversioned instead
6 years ago
fengxsong a4dd603f78
Refactor switch statement in pkg/kube/wait.go
6 years ago
fengxsong cf728f4076
fix wait.go
6 years ago
fengxusong 3b280ab038
Refactor switch statement in pkg/kube/wait.go
6 years ago
Taylor Thomas 63c994343b feat(wait): Ports ingress wait to v3
6 years ago
Taylor Thomas 07c950fc41
Merge pull request #6571 from cgetzen/cg/dev-v3/kube_create_goroutine
6 years ago
Charlie Getzen d2cafdc063 modify resources to match helm3
6 years ago
Charlie Getzen ce4ca05d0a use WaitGroup instead of channels and counters
6 years ago
Matt Farina 9bc7934f35
Updating the module for v3 as the major version
6 years ago
Charlie Getzen 25bbd88639 Add check on empty list
6 years ago
Charlie Getzen 4c39d2b63f batch perform function by resource kind (Deployment, Pod, etc)
6 years ago
Charlie Getzen f7a05ba018 Use a goroutine when interacting with kube api
6 years ago
Matt Farina e3137d106a
Migrating dependency management to go modules
6 years ago
Taylor Thomas 3cc0240d8d
Merge pull request #6549 from perher/no-wait-paused-v3
6 years ago
Taylor Thomas 6ccb2897d9 PR fixes
6 years ago
Per Hermansson f5e977b8ed Skip waiting for paused deployments
6 years ago
Taylor Thomas 36f3a4b326 fix(action): Protects against current resource conflicts
6 years ago
Taylor Thomas 17854e83af feat(*): Ports `--cleanup-on-fail` to v3
6 years ago
Matt Butcher 0f332b67f1
fix: clear the discovery cache after CRDs are installed (#6332)
6 years ago
Vibhav Bobade 5a07055645 Add IsReachable to /pkg/kube/client to see if connected to the internet
6 years ago
Adam Reese cc98242feb
fix(pkg/kube): only wait for events from Jobs and Pods
6 years ago
Jacob LeGrone 2bd94bc552
Merge branch 'dev-v3' of https://github.com/helm/helm into test-as-hook
6 years ago
Taylor Thomas b46d7fd527 fix(kube): Fixes nil panic with stateful set waiting
6 years ago
Jacob LeGrone 08b2d8a2dc
Merge branch 'dev-v3' of https://github.com/helm/helm into test-as-hook
6 years ago
Matthew Fisher 18ca0dd6c4
ref(client): use three-way merge patch strategy
6 years ago
Jacob LeGrone 49987975a8
fix(test): wait for pods and record status
6 years ago
Taylor Thomas dd8222d7f2 Removes clientset method from interface in favor of the configuration struct
6 years ago
Taylor Thomas 189b5a1229 Fixed object typing for watching Jobs/hooks
6 years ago
Taylor Thomas 15fc57f8a3 ref(*): Refactors kube client to be a bit more friendly
6 years ago
Taylor Thomas 1dac8421ef ref(kube): Renames `Result` type to `ResourceList`
6 years ago
Martin Hickey 5410e7d346 Fix style conformance issues
6 years ago
Matthew Fisher 880f4456b3
Merge pull request #6046 from bacongobbler/fix-5654
6 years ago
Matthew Fisher b5d555e4ea
fix(kube): remove namespace enforcement
6 years ago
Taylor Thomas 29c343278e feat(action): Refactors unit tests with better fakes
6 years ago
Taylor Thomas eaa7d8c7c4 feat(wait): Adds smarter waiting for DaemonSets and StatefulSets
6 years ago
Marc Khouzam 81321532e6 Fix linter issuers
6 years ago
Taylor Thomas c8c854a35c fix(pkg/kube): Fixes wait functionality
6 years ago
Adam Reese 77a1b7e0a2
ref(*): expose klog flags
6 years ago
Adam Reese 0338576fc5
ref(pkg/kube): cleanup kube client interface
6 years ago
Adam Reese b97f881be0
ref(*): use time.Duration for timeouts
6 years ago
Adam Reese 2dd4744d23
ref(pkg/kube): extract wait logic from install/update
6 years ago
Michelle Noorali ceab13e9a1 fix test command, move test to test run subcmd
7 years ago
Adam Reese fe06343b8f
Merge pull request #5512 from adamreese/v3/linter-fixes
7 years ago
Adam Reese 295092cd7d
ref(pkg/action): refactoring dup code and linter fixes
7 years ago
Matthew Fisher bb179bdead
chore(dep): bump kubernetes to 1.14.0
7 years ago