Skip to content

Commit 28a7581

Browse files
authored
Merge pull request #20665 from github/repo-sync
repo sync
2 parents 63cd80f + a0f36fb commit 28a7581

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

content/actions/guides/deploying-to-google-kubernetes-engine.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ This procedure demonstrates how to create the service account for your GKE integ
7979
$ gcloud projects add-iam-policy-binding $GKE_PROJECT \
8080
--member=serviceAccount:$SA_EMAIL \
8181
--role=roles/container.admin \
82-
--role=roles/storage.admin
82+
--role=roles/storage.admin \
83+
--role=roles/container.clusterViewer
8384
```
8485
{% endraw %}
8586
1. Download the JSON keyfile for the service account:
@@ -88,7 +89,7 @@ This procedure demonstrates how to create the service account for your GKE integ
8889
$ gcloud iam service-accounts keys create key.json --iam-account=$SA_EMAIL
8990
```
9091
{% endraw %}
91-
1. Store the project ID as a secret named `GKE_PROJECT`:
92+
1. Store the service account key as a secret named `GKE_SA_KEY`:
9293
{% raw %}
9394
```
9495
$ export GKE_SA_KEY=$(cat key.json | base64)

0 commit comments

Comments
 (0)