-
Notifications
You must be signed in to change notification settings - Fork 835
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable ondemand scanning role to kustomize SA
- Loading branch information
Showing
1 changed file
with
1 addition
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]" | ||
|