Skip to content

Commit

Permalink
fix(docs): Modify GCP role/objectViewer -> role/storage.objectViewer
Browse files Browse the repository at this point in the history
  • Loading branch information
ncouture committed Jul 4, 2022
1 parent f512b96 commit c123a5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/setup/install/providers/docker-registry.md
Expand Up @@ -103,7 +103,7 @@ API](https://console.developers.google.com/apis/api/cloudresourcemanager.googlea
A [service account](https://cloud.google.com/compute/docs/access/service-accounts)
is the preferred way to authenticate to GCR. Use the commands below to create
and download a service account to be used as your password with the required
`roles/objectViewer` role, assuming the registry exists in your current
`roles/storage.objectViewer` role, assuming the registry exists in your current
`gcloud` project.

(You can use an [access
Expand Down Expand Up @@ -131,7 +131,7 @@ API](https://console.developers.google.com/apis/api/cloudresourcemanager.googlea

gcloud projects add-iam-policy-binding $PROJECT \
--member serviceAccount:$SA_EMAIL \
--role roles/objectViewer
--role roles/storage.objectViewer

mkdir -p $(dirname $SERVICE_ACCOUNT_DEST)

Expand Down

0 comments on commit c123a5e

Please sign in to comment.