apache / apache/cloudstack

UI: Add project selection in Create Kubernetes Cluster form (projectid supported by createKubernetesCluster API)

Abierto
#13,646 1 comentario 0 reacciones 0 asignados Ver en GitHub
component:UI
Lenguaje dominante
Java
Estrellas
3.1k
Forks
1.4k
Merge medio
6 d 19 h
PR fusionados (30 d)
32

Descripción

### The required feature described as a wish

ISSUE TYPE
* Improvement Request

COMPONENT NAME
~~~
UI, Kubernetes Service (CKS)
~~~

CLOUDSTACK VERSION
~~~
4.22.1.0
~~~

SUMMARY

The createKubernetesCluster API in 4.22.1.0 supports the `projectid` parameter
("Deploy cluster for the project"), and the API response includes `project` and
`projectid` fields:
https://cloudstack.apache.org/api/apidocs-4.22/apis/createKubernetesCluster.html

However, the "Add Kubernetes Cluster" form in the UI has no field to select a
project. Currently, deploying a CKS cluster into a project can only be
achieved either by calling the API directly (passing projectid), or by
switching the UI view to the specific project before creating the cluster.

There is no way to choose the target project directly from the cluster
creation form itself, unlike other resource creation flows in the UI. This is
inconsistent and inconvenient, especially for admins managing multiple
projects.

STEPS TO REPRODUCE
~~~
1. Log in to the CloudStack 4.22.1 UI Default View
2. Navigate to Compute > Kubernetes > Create Kubernetes Cluster
3. Observe there is no field/dropdown to select a project for the cluster
4. Compare with the createKubernetesCluster API, which accepts "projectid"
~~~

EXPECTED RESULTS
~~~
The "Add Kubernetes Cluster" form should include a project dropdown
(populated via listProjects), so the cluster and its resources are created
under the selected project — equivalent to passing projectid to the
createKubernetesCluster API.
~~~

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza en el formulario Add Kubernetes Cluster de la CloudStack UI y revisa la documentación de la API createKubernetesCluster, especialmente projectid y los campos de proyecto de su respuesta. Rastrea cómo otros formularios de la UI rellenan los proyectos con listProjects. El trabajo está terminado cuando el formulario ofrece un desplegable de proyectos y pasa la projectid seleccionada al crear el clúster.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
kubernetes
Área
frontend
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
68/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.