1
0
mirror of synced 2026-01-11 03:01:04 -05:00

Merge pull request #13270 from tiwilliam/patch-2

Correctly assign IAM policy bindings
This commit is contained in:
Ramya Parimi
2022-02-11 11:20:53 -06:00
committed by GitHub

View File

@@ -89,10 +89,14 @@ This procedure demonstrates how to create the service account for your GKE integ
{% raw %}
```
$ gcloud projects add-iam-policy-binding $GKE_PROJECT \
--member=serviceAccount:$SA_EMAIL \
--role=roles/container.admin \
--role=roles/storage.admin \
--role=roles/container.clusterViewer
--member=serviceAccount:$SA_EMAIL \
--role=roles/container.admin
$ gcloud projects add-iam-policy-binding $GKE_PROJECT \
--member=serviceAccount:$SA_EMAIL \
--role=roles/storage.admin
$ gcloud projects add-iam-policy-binding $GKE_PROJECT \
--member=serviceAccount:$SA_EMAIL \
--role=roles/container.clusterViewer
```
{% endraw %}
1. Download the JSON keyfile for the service account: