I have several Google cloud projects with dedicated environments for prod, stag, dev, etc. All the Docker image are platform agnostic and completely controlled by environment variables. They should be used from all environments. What I have found is to create a project, deploy the docker images in the repository and then allow read access by using a registry reader to the consuming service accounts.
- What service account has to be added to the registry if GKE deployments should be able to pull the image?
- Is this the recommended approach? I feels a little bit strange that also a dedicated project is needed. Is there something like a "global" repository?