Skip to content

create AR registries with lifecycle policies #7913

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions infra/gcp/bash/prow/OWNERS

This file was deleted.

234 changes: 0 additions & 234 deletions infra/gcp/bash/prow/ensure-e2e-projects.sh

This file was deleted.

2 changes: 1 addition & 1 deletion infra/gcp/infra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# - consider breaking up into multiple files vs. one large file
infra:
e2e:
managed_by: infra/gcp/bash/prow/ensure-e2e-projects.sh
managed_by: infra/gcp/terraform/boskos/main.tf
projects:
# general purpose e2e projects, no quota changes
k8s-infra-e2e-boskos-001:
Expand Down
3 changes: 3 additions & 0 deletions infra/gcp/terraform/boskos/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Boskos Terraform Module

This folder defines the configuration of all the boskos projects.
49 changes: 49 additions & 0 deletions infra/gcp/terraform/boskos/iam.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/*
Copyright 2025 The Kubernetes Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

# We grant all the boskos permissions on the folder and they get inherited
module "folder_iam" {
source = "terraform-google-modules/iam/google//modules/folders_iam"
version = "~> 8.1"
folders = [google_folder.boskos.id]
mode = "authoritative"

bindings = {
"organizations/758905017065/roles/prow.viewer" : [
"group:[email protected]"
]
"roles/cloudkms.admin" = [
"serviceAccount:[email protected]"
]
"roles/cloudkms.cryptoKeyEncrypterDecrypter" = [
"serviceAccount:[email protected]"
]
"roles/editor" = [
"serviceAccount:[email protected]",
"serviceAccount:[email protected]"
]
"roles/owner" = [
"group:[email protected]"
]
"roles/iam.serviceAccountUser" = [
"serviceAccount:[email protected]"
]
"roles/secretmanager.admin" = [
"serviceAccount:[email protected]"
]
}

}
Loading