chart-testing
chart-testing copied to clipboard
CT install should wait for stateful set too
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