fix: retry OpenTofu on transient Kubernetes TLS reads
Homelab Main / validate (push) Waiting to run Details
Homelab Main / running-update (push) Blocked by required conditions Details
Homelab Main / debian-ops (push) Blocked by required conditions Details

This commit is contained in:
juvenal.diaz 2026-10-07 11:32:41 -06:00
parent 25fbc4765e
commit 779dd3bc34
1 changed files with 1 additions and 1 deletions

View File

@ -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}"