chart-testing icon indicating copy to clipboard operation
chart-testing copied to clipboard

CT install should wait for stateful set too

Open RafalKorepta opened this issue 4 years ago • 0 comments

Is this a request for help?: No

Is this a BUG REPORT or FEATURE REQUEST? (choose one): FEATURE REQUEST

Version of Helm and Kubernetes: Not relevant for feature request.

What happened: Installing the helm chart that have only statefulset the test are failing. The chart.go file the function testRelease which only calls WaitForDeployments.

What you expected to happen: Create almost identical function for waiting for stateful set. kubectl can watch the rollout status for statefulset too.

kubectl -n test-namespace rollout status -w statefulset/my-statefulset --timeout 2m

Please note that current WaitForDeployments function does not use --timeout and -w parameter.

How to reproduce it (as minimally and precisely as possible): N/A

Anything else we need to know: N/A

RafalKorepta avatar Jan 20 '21 14:01 RafalKorepta