File tree 1 file changed +7
-1
lines changed
tools/gke-disk-image-builder
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,20 @@ examples below to understand how this tool work better.
24
24
1 . Compute Engine API must be enabled.
25
25
(https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=$PROJECT_NAME )
26
26
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.
28
29
You can run the following command to grant proper permissions for this:
29
30
30
31
``` shell
31
32
gcloud storage buckets add-iam-policy-binding gs://$GCS_PATH \
32
33
--project=$PROJECT_NAME \
33
34
--member=serviceAccount:
$PROJECT_NUMBER [email protected] \
34
35
--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
35
41
```
36
42
37
43
1. If a disk image with the given name (via the ** --image-name** flag) already
You can’t perform that action at this time.
0 commit comments