Austin Abro
e9d9854364
introduce test for status wait
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
71434c0b38
implement logger
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
649475265d
implement logger
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
c26b44f651
update names
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
8ce1876192
get rid of ext interface
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
e6c6a40fe0
general error message
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
6b68a00440
change error messages
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
ac9012577a
status function
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
b8bdcc3a2b
Helm waiter
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
4c97d1276c
helm waiter
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
86338215b7
ability to create different waiters
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
cb6d48e6ae
status wait
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
4dd6e19b1d
provide path for creating new legacy waiter
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
2cb999d72b
go fmt
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
c3eeab67f9
merge
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
4b59583670
delete wait and get completed phase
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
db90b17484
unknown status
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
4dbdd7ce10
wait for delete working
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
9b63459bec
save state while I change up tests
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
265442c5eb
simplify things
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
28a9183ee3
context
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
b337790c10
paused as ready
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
e18f22071d
paused as ready now working
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
22af71f125
comments
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
7b896df4d1
option to wait for jobs
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
a6e5466942
refactor test
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
807cc925f5
refactor test
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
947425ee64
refactor new
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
aacaa08be2
only emebed waiter
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
859ff9b548
change structure of client
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
ad1f1c02ef
cleanup test
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Matt Farina
2236294119
Updating to helm.sh/helm/v4
...
Since Helm is going through breaking changes with Helm v4, the version path to
Helm needs to be updated.
Signed-off-by: Matt Farina <matt.farina@suse.com>
11 months ago
Austin Abro
4564b8f712
make a working test
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
4c1758143f
basic design up and balling
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
a61a35240e
understand it better
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
6f7ac066ae
extending factory to enable getting a watcher
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Austin Abro
2f44164fc6
Merge branch 'refactor-wait' of github.com:AustinAbro321/helm into refactor-wait
11 months ago
Matt Farina
5727f56a96
Update to Go 1.23
...
Multiple changes were made to pass linting. Some Go built-in names
are being used for variables (e.g., min). This happens in the Go
source itself including the Go standard library and is not always
a bad practice.
To handle allowing some built-in names to be used the linter config
is updated to allow (via opt-in) some names to pass. This allows us
to still check for re-use of Go built-in names and opt-in to any
new uses.
There were also several cases where a value was checked for nil
before checking its length when this is already handled by len()
or the types default value. These were cleaned up.
The license validation was updated because it was checking everything
in the .git directory including all remote content that was local.
The previous vendor directory was from a time prior to Go modules
when Helm handled dependencies differently. It was no longer needed.
Signed-off-by: Matt Farina <matt.farina@suse.com>
11 months ago
Austin Abro
41700f0248
WIP
...
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
11 months ago
Alex Johnson
9fd943b481
Add tests to `helm/pkg/kube/client_test.go` to cover `wait.go`
...
Signed-off-by: Alex Johnson <alex.kattathra.johnson@gmail.com>
1 year ago
Robert Sirchia
7e6b34d7dd
removing duplicate empty test
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
1 year ago
Robert Sirchia
16a4e37f20
fixing unit test as per Matt
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
1 year ago
Robert Sirchia
a205af755e
adding more unit test
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
1 year ago
Robert Sirchia
999b85145a
adding test coverage for ready.go
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
1 year ago
Matt Farina
8f59c8e807
Merge pull request #9713 from andreaskaris/issue9710
...
fix(helm): Retry Conflict error for createResource, deleteResource
1 year ago
Andreas Karis
79a1f2c801
fix(helm): Retry Conflict error for createResource, deleteResource
...
kubernetes might at any time throw 409 Conflict Error codes. Clients
are supposed to retry when this happens. As an example, see
kubernetes/issues/67761 where such an issues might happen when the
cluster manipulates a projects's ResourceQuotas.
Catch such Conflict Errors on createResource and deleteResource and
retry before giving up. Due to the more complex logic and focus on
kubernetes/issues/67761, this patch purposefully omits possibly
needed changes to updateResource and instead defers them to another
patch if required in the future.
Closes issue #9710
Signed-off-by: Andreas Karis <ak.karis@gmail.com>
1 year ago
Luis Davim
ab3c589809
chore: Make retryingRoundTripper type public
...
Make retryingRoundTripper type public to allow being used in other
projects
fixes : #13052
Signed-off-by: Luis Davim <luis.davim@gmail.com>
1 year ago
Nathan Baulch
ef85fa7f2d
Grammar fixes
...
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com>
1 year ago
Nathan Baulch
ff9dd262e3
Fix typos
...
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com>
1 year ago
Joe Julian
ff4877e696
Merge pull request #13224 from sttts/sttts-fix-apiext-registration
...
kube/client: add to global client-go scheme in init func
1 year ago