urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='192.168.58.2', port=8443): Max retries exceeded with url: /apis/rbac.authorization.k8s.io/v1/roles (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f8c7826b0>: Failed to establish a new connection: [Errno 113] No route to host'))
Implemented Changes
The problem was that the Configuration object was with default fields although it was initialized in the BearerTokenLoader(..).load_and_set() function.
We fixed it by returning the configuration to ApiClientTemp().
Changelog
[ ] The CHANGELOG has been updated, or
[ ] This PR does not include user-facing changes and doesn't require a
CHANGELOG update
Behavior
[ ] This PR changes product behavior and has been reviewed by a PO, or
[ ] These changes are part of a larger initiative that will be reviewed later, or
Desired Outcome
When calling KubiScan like that:
Receiving multiple errors such as:
Implemented Changes
The problem was that the
Configuration
object was with default fields although it was initialized in theBearerTokenLoader(..).load_and_set()
function.We fixed it by returning the configuration to
ApiClientTemp()
.Changelog
Behavior