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
What would you like to be added:
The logic that immediately removes the authentication handler when a request to retrieve a remote JWKS fails can be improved to better handle intermittent failures.
It would be better to implement a retry mechanism that tries the request a couple of times before finally removing the auth handler from store. This will improve stability of the service. In addition to that the default resync period can be increased from its current default value of 10min.
Why is this needed:
An intermittent failure, i.e. DNS or network issue can cause an authentication handler to be removed from store causing request to the kube-apiserver to be unauthorized.
The text was updated successfully, but these errors were encountered:
What would you like to be added:
The logic that immediately removes the authentication handler when a request to retrieve a remote JWKS fails can be improved to better handle intermittent failures.
oidc-webhook-authenticator/controllers/authentication/openidconnect_controller.go
Lines 113 to 120 in d272537
It would be better to implement a retry mechanism that tries the request a couple of times before finally removing the auth handler from store. This will improve stability of the service. In addition to that the default resync period can be increased from its current default value of 10min.
oidc-webhook-authenticator/cmd/oidc-webhook-authenticator/app/options/options.go
Line 112 in d272537
Why is this needed:
An intermittent failure, i.e. DNS or network issue can cause an authentication handler to be removed from store causing request to the
kube-apiserver
to be unauthorized.The text was updated successfully, but these errors were encountered: