codeflare-sdk icon indicating copy to clipboard operation
codeflare-sdk copied to clipboard

get_current_namespace broken due to authentication change

Open carsonmh opened this issue 2 years ago • 1 comments

Currently get_current_namespace searches for a namespace file if there is an api_client present. The problem is, with the new authentication implementation, oc login isn't invoked, meaning that this namespace file may not be present. So its better to just use kubernetes API to search for namespace

carsonmh avatar Aug 08 '23 00:08 carsonmh

Would be good to sync up with @Bobbins228 on this as well

Maxusmusti avatar Aug 08 '23 15:08 Maxusmusti