I've set up a new GCP project and configured googleCloudRunner. It is my third project I did following googleCloudRunners setup instructions.
Now, I observe a strange behaviour:
In my new project, I want read serctets from the secret manager. So, I noticed this behaviour because the compute service account does not have persmissions to read the secrets from the secret manager and therefore the build failed. I gave these permissions to the service account created along the cr_setup - process, since I thought this was the trigger/executor of the build.
Apparently I do not understand what is going on.
Is there a way to specify which service account should be used to execute the cloud build?
I've set up a new GCP project and configured googleCloudRunner. It is my third project I did following googleCloudRunners setup instructions.
Now, I observe a strange behaviour:
In my new project, I want read serctets from the secret manager. So, I noticed this behaviour because the compute service account does not have persmissions to read the secrets from the secret manager and therefore the build failed. I gave these permissions to the service account created along the cr_setup - process, since I thought this was the trigger/executor of the build.
Apparently I do not understand what is going on.
Is there a way to specify which service account should be used to execute the cloud build?