Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asmcli does not set up or validate a required permission for managed ASM #1417

Open
brantgurga opened this issue Mar 29, 2023 · 0 comments
Open

Comments

@brantgurga
Copy link

brantgurga commented Mar 29, 2023

After some troubleshooting, it has been discovered that the Anthos Service Mesh Service Agent role needs to be on the fleet service account for the clusters (this is documented) and the fleet account (this is not documented). Without the equivalent of this, it never provisions. Using asmcli to set up managed ASM has this same issue. I've put in documentation requests to document this better too.

gcloud projects add-iam-policy-binding "PROJECT_ID"  \
  --member "serviceAccount:service-FLEET_PROJECT_NUMBER@gcp-sa-servicemesh.iam.gserviceaccount.com" \
  --role roles/anthosservicemesh.serviceAgent

The equivalent of the above needs done for cluster project IDs and the fleet project ID. Current documentation implies only cluster project IDs which makes the separate fleet project setup incomplete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant