You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment:
Extension version: 1.7.0
VSCode version: 1.50.1
OS: Mac OS Catalina 10.15.3
Description:
"Deploy to Cloud Run" does not open this view:
Instead following error message is show in the window:
Failed to fetch cloud run services of the project my-secretporject-dev-4819. Error: Required "container.clusters.list" permission(s) for "projectsmy-secretporject-dev-4819".
below is my log:
Checking Docker Dependency Status.
Retrieving builders.
Getting Gcloud Login State.
Getting Gcloud Project ID.
Checking Cloud Run API status.
Getting Cloud Run Services for project "my-secretporject-dev-4819".
Failed to fetch cloud run services of the project my-secretporject-dev-4819. Error: Required "container.clusters.list" permission(s) for "projects/my-secretporject-dev-4819".
Repro step:
click on Cloud Code status bar
select Deploy to Cloud Run
I have run.admin role in the project
Anthos and GKE are disabled in the project due to org policies
The text was updated successfully, but these errors were encountered:
@hadi-muhammad - Disabling the GKE on the project disables the default default permission list(container.clusters.list) for the project and we probably are failing when trying to list all the clusters(for Anthos) under the project. We are investigating and looking to fix not to query for Anthos clusters if the permission to list is disabled in the upcoming release. in the short time you can try the workaround of enable GKE on the service account on the project that would temporarily get you all the permissions needed for deploying to Cloud Run.
I second this issue. Only having cloud run permissions, I cannot even list the cloud run services in the cloud run explorer. I can get a list of services by running the command gcloud run services list, but in the Cloud Run Explorer I get:
Error: Required "container.clusters.list" permission(s) for "projects/xxxxxxxx".
Environment:
Extension version: 1.7.0
VSCode version: 1.51.1
OS: Mac OS Catalina 10.15.6
Environment:
Extension version: 1.7.0
VSCode version: 1.50.1
OS: Mac OS Catalina 10.15.3
Description:
"Deploy to Cloud Run" does not open this view:
Instead following error message is show in the window:
below is my log:
Repro step:
Cloud Code
status barDeploy to Cloud Run
I have
run.admin
role in the projectAnthos and GKE are disabled in the project due to org policies
The text was updated successfully, but these errors were encountered: