Skip to content

Commit fae673f

Browse files
authored
Add permissions for secondary boot disk guide (GoogleCloudPlatform#893)
1 parent 5a64394 commit fae673f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tools/gke-disk-image-builder/README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,20 @@ examples below to understand how this tool work better.
2424
1. Compute Engine API must be enabled.
2525
(https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=$PROJECT_NAME)
2626
1. Verify that `[email protected]` has
27-
`storage.objectCreator` and `storage.objectViewer` permissions to the provided *GCS path* for the logs.
27+
`storage.objectCreator` and `storage.objectViewer` permissions to the
28+
provided *GCS path* for the logs and startup script.
2829
You can run the following command to grant proper permissions for this:
2930

3031
```shell
3132
gcloud storage buckets add-iam-policy-binding gs://$GCS_PATH \
3233
--project=$PROJECT_NAME \
3334
--member=serviceAccount:$PROJECT_NUMBER[email protected] \
3435
--role=roles/storage.objectCreator
36+
37+
gcloud storage buckets add-iam-policy-binding gs://$GCS_PATH \
38+
--project=$PROJECT_NAME \
39+
--member=serviceAccount:$PROJECT_NUMBER[email protected] \
40+
--role=roles/storage.objectViewer
3541
```
3642

3743
1. If a disk image with the given name (via the **--image-name** flag) already

0 commit comments

Comments
 (0)