Skip to content

Commit

Permalink
enable ondemand scanning role to kustomize SA
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwenma committed Nov 2, 2021
1 parent ed10a49 commit 7c86ed1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infra/gcp/bash/ensure-staging-storage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ function staging_special_case__k8s_staging_kustomize() {
principal="group:${owners}"
ensure_project_role_binding "${project}" "${principal}" "roles/cloudkms.admin"
ensure_project_role_binding "${project}" "${principal}" "roles/cloudkms.cryptoKeyEncrypter"
ensure_project_role_binding "${project}" "${principal}" "roles/ondemandscanning.admin"

# ensure cloud builds can access keyrings for decryption
local cloudbuild_sa_email="[email protected]"
Expand Down

0 comments on commit 7c86ed1

Please sign in to comment.