Skip to content

Commit da15060

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 <ugiordan@redhat.com> Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 081b2fd commit da15060

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
@@ -152,6 +152,7 @@ func main() {
152152
setupLog.Info("APIServer resource not found, using Intermediate defaults")
153153
case apierrors.IsServiceUnavailable(err),
154154
apierrors.IsTimeout(err),
155+
apierrors.IsServerTimeout(err),
155156
apierrors.IsTooManyRequests(err),
156157
errors.Is(err, context.DeadlineExceeded):
157158
setupLog.Info("Transient API error reading TLS profile, using Intermediate defaults", "error", err)

0 commit comments

Comments
 (0)