From 9ee3f9a794611fbea4cc44ff8e62e77a91b5a6c6 Mon Sep 17 00:00:00 2001 From: Diego Miguel <22967053+dmlls@users.noreply.github.com> Date: Tue, 3 Aug 2021 10:33:34 +0200 Subject: [PATCH] Update deploying-to-google-kubernetes-engine.md Recreating PR for https://github.com/github/docs/pull/3488. The reason can be found [here](https://github.com/github/docs/pull/3488#issuecomment-891549456). --- .../actions/guides/deploying-to-google-kubernetes-engine.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/actions/guides/deploying-to-google-kubernetes-engine.md b/content/actions/guides/deploying-to-google-kubernetes-engine.md index 57f3f9e9594b..e2d381b5ab29 100644 --- a/content/actions/guides/deploying-to-google-kubernetes-engine.md +++ b/content/actions/guides/deploying-to-google-kubernetes-engine.md @@ -79,7 +79,8 @@ This procedure demonstrates how to create the service account for your GKE integ $ gcloud projects add-iam-policy-binding $GKE_PROJECT \ --member=serviceAccount:$SA_EMAIL \ --role=roles/container.admin \ - --role=roles/storage.admin + --role=roles/storage.admin \ + --role=roles/container.clusterViewer ``` {% endraw %} 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 $ gcloud iam service-accounts keys create key.json --iam-account=$SA_EMAIL ``` {% endraw %} -1. Store the project ID as a secret named `GKE_PROJECT`: +1. Store the service account key as a secret named `GKE_SA_KEY`: {% raw %} ``` $ export GKE_SA_KEY=$(cat key.json | base64)