You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: apply Intermediate TLS defaults on API fallback and handle transient errors
Follow-up to #6567. Two fixes:
1. Move NewTLSConfigFromProfile outside the if/else so it runs on all
code paths. Previously, error paths skipped TLS configuration entirely,
leaving the operator running with Go's bare defaults (no MinVersion,
no cipher restrictions). Now all error paths explicitly fall back to
the Intermediate TLS profile.
2. Handle transient API errors (ServiceUnavailable, Timeout,
TooManyRequests) gracefully instead of crashing with os.Exit(1).
These set tlsProfileFetched=true so the SecurityProfileWatcher
self-heals when the API recovers.
Also adds a 10-second context timeout on bootstrap API calls and applies
the same transient error handling to the TLS adherence policy fetch.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Ugo Giordano <ugiordan@redhat.com>
0 commit comments