forked from GoogleCloudPlatform/terraform-google-secure-cicd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.yaml
90 lines (89 loc) · 2.92 KB
/
metadata.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Copyright 2022 Google LLC
#
# 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.
apiVersion: blueprints.cloud.google.com/v1alpha1
kind: BlueprintMetadata
metadata:
name: terraform-google-secure-cicd
annotations:
config.kubernetes.io/local-config: "true"
spec:
title: Secure CI/CD Blueprint
source:
repo: https://github.com/GoogleCloudPlatform/terraform-google-secure-cicd.git
sourceType: git
subBlueprints:
- name: cloudbuild-private-pool
location: modules/cloudbuild-private-pool
- name: secure-cd
location: modules/secure-cd
- name: secure-ci
location: modules/secure-ci
- name: workerpool-gke-ha-vpn
location: modules/workerpool-gke-ha-vpn
examples:
- name: app_cicd
location: examples/app_cicd
- name: cloudbuild_private_pool
location: examples/cloudbuild_private_pool
- name: private_cluster_cicd
location: examples/private_cluster_cicd
- name: standalone_single_project
location: examples/standalone_single_project
roles:
- level: Project
roles:
- roles/artifactregistry.admin
- roles/binaryauthorization.attestorsAdmin
- roles/cloudbuild.builds.builder
- roles/cloudbuild.workerPoolOwner
- roles/clouddeploy.admin
- roles/cloudkms.admin
- roles/cloudkms.publicKeyViewer
- roles/containeranalysis.notes.editor
- roles/compute.networkAdmin
- roles/iam.serviceAccountAdmin
- roles/iam.serviceAccountUser
- roles/pubsub.editor
- roles/serviceusage.serviceUsageAdmin
- roles/source.admin
- roles/storage.admin
- roles/resourcemanager.projectIamAdmin
- roles/viewer
- level: Project
roles:
- roles/compute.networkAdmin
- roles/container.admin
- roles/binaryauthorization.policyEditor
- roles/resourcemanager.projectIamAdmin
- roles/iam.serviceAccountAdmin
- roles/serviceusage.serviceUsageViewer
- roles/iam.serviceAccountUser
services:
- cloudresourcemanager.googleapis.com
- cloudbilling.googleapis.com
- clouddeploy.googleapis.com
- storage-api.googleapis.com
- serviceusage.googleapis.com
- cloudbuild.googleapis.com
- containerregistry.googleapis.com
- iamcredentials.googleapis.com
- secretmanager.googleapis.com
- sourcerepo.googleapis.com
- artifactregistry.googleapis.com
- containeranalysis.googleapis.com
- cloudkms.googleapis.com
- binaryauthorization.googleapis.com
- containerscanning.googleapis.com
- servicenetworking.googleapis.com
- pubsub.googleapis.com