Files
kubeshark/kubernetes
Volodymyr Stoiko 89979e3aec cli/mcp: throttle hub-token re-mint on failure; accurate proxy 401 message
Review follow-up. HubTokenRenewer.Token() re-minted on every request while
the token was empty, so a cluster where minting can't succeed (no RBAC, SA
missing) paid a blocking ~10s CreateToken round-trip per request (under the
lock). Add a 30s retry throttle: on mint failure, back off and fall back to
the prior token / License-Key. Also correct the proxy-mode 401 message — a
token-bearing 401 means the minted token was rejected (allowlist/audience),
not an RBAC-to-mint failure.
2026-06-16 19:16:16 +00:00
..
2024-10-21 12:58:01 -07:00
2023-11-18 03:02:44 +03:00
2022-12-26 06:16:07 +03:00