rancher / rancher

Complete container management platform
http://rancher.com
Apache License 2.0
22.77k stars 2.91k forks source link

[RFE] Add support for listing Google projects #45880

Open mantis-toboggan-md opened 1 week ago

mantis-toboggan-md commented 1 week ago

Is your feature request related to a problem? Please describe. When creating or importing a GKE cluster through the UI, users need to manually enter the ID of the gcp project they want to use for the given cluster, even if they have valid google cloud credentials available. This is rather tiresome poor UX.

Describe the solution you'd like The norman api currently supports a few endpoints for listing other gcp resources used in GKE cluster management. The UI would like this expanded to include listing projects (https://cloud.google.com/resource-manager/reference/rest/v1/projects/list), so we can offer users a dropdown of available project IDs instead of requiring them to type in an ID each time they create/import clusters. https://github.com/rancher/rancher/blob/3ae1c6ac8d3524f8ded4544f1db75fc9e07911a5/pkg/api/norman/customization/gke/listers.go

Additional context Screenshot 2024-06-20 at 9 14 05 AM