fix: retry OpenTofu on transient Kubernetes TLS reads
This commit is contained in:
parent
25fbc4765e
commit
779dd3bc34
|
|
@ -586,7 +586,7 @@ tofu_apply_with_kubernetes_retry() {
|
|||
fi
|
||||
|
||||
if ! grep -Eiq \
|
||||
'cannot get OpenAPI|failed get OpenAPI spec|context deadline exceeded|TLS handshake timeout|connection refused|unexpected EOF|server is currently unable' \
|
||||
'cannot get OpenAPI|failed get OpenAPI spec|context deadline exceeded|TLS handshake timeout|connection refused|unexpected EOF|server is currently unable|bad record MAC|failed to query with labels|unexpected error when reading response body' \
|
||||
"${output_file}"; then
|
||||
rm -f "${output_file}"
|
||||
return "${status}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue