GCS permission issue when Cloud Deploy is copying the artifacts to GCS with default service account

Hi,
We are facing GCS permission issue when Cloud Deploy is copying the artifacts to GCS with default service account. This started popping up recently. I do not find any changes in release notes regarding this. Did anybody else face this issue?

Step #1: Uploading tarball of [.] to [gs://xxxxxxxxxxxxxxb1c6_clouddeploy/source/xxxxxxxxxxx-exxxxxxxxxxxxxxxxxxxxxx10.tgz]
Step #1: ERROR: (gcloud.deploy.releases.create) PERMISSION_DENIED: ActAs permissions required to use account

-Haziq

Solved Solved
0 3 277
1 ACCEPTED SOLUTION

just to update. We have found the issue. One of the cloud deploy are using a wrong deployment service account which doesn't have the correct set of permissions.
Thanks @sanderbogdan 

View solution in original post

3 REPLIES 3

Hi Haziq,

Are you using a specific version of Skaffold when creating  a release (e.g. --skafold-version)? Can you kindly also share the gcloud version generating the error?

Thank you. 

yes. The skaffold version used is 2.0

just to update. We have found the issue. One of the cloud deploy are using a wrong deployment service account which doesn't have the correct set of permissions.
Thanks @sanderbogdan