File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 %}
85861 . 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)
You can’t perform that action at this time.
0 commit comments