Closed matthewkrupnik closed 3 years ago
A check if the current account is a service account is failing for us. Our build in CloudBuild is running under the default service account (xxxxxxxx@cloudbuild.gserviceaccount.com), which is a service account but does not match the check. https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages/blob/1fa84c122f33afcc966689c66d96168150658abb/scripts/asm-installer/install_asm#L1838
xxxxxxxx@cloudbuild.gserviceaccount.com
I think the check should be changed to a more broad version: if is_sa || [[ "${ACCOUNT_NAME}" = *.gserviceaccount.com ]]; then
if is_sa || [[ "${ACCOUNT_NAME}" = *.gserviceaccount.com ]]; then
Now that PR https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages/pull/631 is merged, I've tested the updated script and it works for us. Thanks @zerobfd! Closing this issue
A check if the current account is a service account is failing for us. Our build in CloudBuild is running under the default service account (
xxxxxxxx@cloudbuild.gserviceaccount.com
), which is a service account but does not match the check. https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages/blob/1fa84c122f33afcc966689c66d96168150658abb/scripts/asm-installer/install_asm#L1838I think the check should be changed to a more broad version:
if is_sa || [[ "${ACCOUNT_NAME}" = *.gserviceaccount.com ]]; then