Need to rework this event loop approach a bit
|
for event in w.stream(client.CoreV1Api(api_client=k8s_api_client).list_namespaced_service_account, |
to use hardcoded SA name
|
service_account = client.CoreV1Api(api_client=k8s_api_client).read_namespaced_service_account("sm-auth-sa", namespace) |
Need to rework this event loop approach a bit
DRNavigator/utils.py
Line 188 in fcc1819
DRNavigator/utils.py
Line 168 in fcc1819