project-codeflare / project-codeflare/codeflare-sdk

get_current_namespace broken due to authentication change

Open
#289 1 comment 0 reactions 1 assignee View on GitHub

@carsonmh is already working on this.

Since Aug 8, 2023.

Dominant language
Python
Stars
35
Forks
66
Avg merge
48m
Merged PRs (30d)
7

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.