There are a few issues with the service account(s) used in revamp_dev.yaml.
-
The workload_identity_provider and service_account are defined in three places, for three jobs. However, only the first instance (lines 52 and 53) are stored in secrets manager. The other two instances (85 & 86, 122 & 123) are hardcoded into the file.
-
The service account used for deploy_image_auto and deploy_image_manual do not have permissions to read from images (main), which is is a problem when you want to use an image stored there as the base for your Dockerfile.
-
The deploy_image_auto and deploy_image_manual service account does not have permissions to deploy the image into the dev images artifactory.
There are a few issues with the service account(s) used in
revamp_dev.yaml.The
workload_identity_providerandservice_accountare defined in three places, for three jobs. However, only the first instance (lines 52 and 53) are stored in secrets manager. The other two instances (85 & 86, 122 & 123) are hardcoded into the file.The service account used for
deploy_image_autoanddeploy_image_manualdo not have permissions to read fromimages(main), which is is a problem when you want to use an image stored there as the base for your Dockerfile.The
deploy_image_autoanddeploy_image_manualservice account does not have permissions to deploy the image into the dev images artifactory.