intellij-openshift-connector
intellij-openshift-connector copied to clipboard
Can't create project when using crc with microshift preset
[kind/bug]
What versions of software are you using?
- Operating System: Fedora 39
- IntelliJ version: 2023.3
- Extension version: 1.8.0
- Are you targeting a kubernetes or an Openshift cluster ? If possible, provide its version:
- crc with microshift preset
What did you run exactly?
open openshift view. no current project available. click on create new project or using context menu leads to a popup error.
Actual behavior
error:
Could not get projects: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://api.crc.testing:6443/apis/project.openshift.io/v1/projects. Message: Not Found.
Expected behavior
can create project ( as it's an openshift cluster )
Any logs, error output, etc?
while debugging, the isOpenshift returns true, so in odocli#getNamespacesOrProjects(), it goes to openshiftclient.projects().list() that returns a 404. in the same method, client.namespaces().list() correctly returns a list
see https://github.com/openshift/microshift/issues/1008#issuecomment-1273236517