Skip to content

Commit 4591db8

Browse files
ugiordanclaude
andcommitted
fix: handle IsServerTimeout in TLS profile resolution
StatusReasonServerTimeout is a distinct Kubernetes error from StatusReasonTimeout. Without handling it, a server-side API timeout during TLS profile fetch causes the operator to fail to start instead of falling back to Intermediate defaults. Signed-off-by: Ugo Giordano <[email protected]> Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
1 parent 36769d6 commit 4591db8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

infra/feast-operator/cmd/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ func main() {
145145
setupLog.Info("APIServer resource not found, using Intermediate defaults")
146146
case apierrors.IsServiceUnavailable(err),
147147
apierrors.IsTimeout(err),
148+
apierrors.IsServerTimeout(err),
148149
apierrors.IsTooManyRequests(err),
149150
errors.Is(err, context.DeadlineExceeded):
150151
setupLog.Info("Transient API error reading TLS profile, using Intermediate defaults", "error", err)

0 commit comments

Comments
 (0)