mirror of
https://github.com/helm/chart-testing.git
synced 2026-02-05 18:45:18 +01:00
* feat: add kubectl timeout value to configuration Signed-off-by: Scott Leggett <scott@sl.id.au> * fix: set a request timeout on kubectl commands Simple kubectl commands such as get, describe, and logs should return quickly, but kubectl does not set a timeout on requests by default. This can mean kubectl hangs forever if the kubernetes API stops responding during a request, which is quite possible in CI environments where jobs may cancelled and kubernetes clusters torn down while ct is running. This change sets a configurable timeout on such kubectl commands, with a default value of 30s. Signed-off-by: Scott Leggett <scott@sl.id.au> * chore: update integration test for new kubectl API Signed-off-by: Scott Leggett <scott@sl.id.au>