InseeFrLab / InseeFrLab/onyxia-api

Namespaces : Onyxia should accept existing namespaces for deployments

Open
#84 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
34
Forks
34
PR merge metrics
No merged PRs in 30d

Description

In https://github.com/InseeFrLab/onyxia-api/blob/master/onyxia-api/src/main/java/fr/insee/onyxia/api/services/impl/kubernetes/KubernetesService.java

The API is expecting to have created the namespace here :
```java
public List getNamespaces(Region region, Owner owner) {
KubernetesClient kubClient = kubernetesClientProvider.getRootClient(region);
return kubClient.namespaces().withLabel("onyxia_owner",owner.getId()).list().getItems();
}
```

Should it be different?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.