-
Notifications
You must be signed in to change notification settings - Fork 1
/
cloudcasa_gcp_deployment.jinja
52 lines (51 loc) · 1.84 KB
/
cloudcasa_gcp_deployment.jinja
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
resources:
- name: cloudcasa-role
type: gcp-types/iam-v1:projects.roles
properties:
parent: projects/{{ env["project"] }}
roleId: CloudCasa
role:
title: CloudCasa
description: Add some description
stage: ALPHA
includedPermissions:
- container.clusters.create
- container.clusters.update
- container.clusters.delete
- container.clusters.get
- container.clusters.getCredentials
- container.clusters.list
- container.serviceAccounts.create
- container.serviceAccounts.get
- container.serviceAccounts.update
- container.deployments.create
- container.deployments.get
- container.deployments.update
- container.namespaces.create
- container.namespaces.get
- container.namespaces.update
- container.clusterRoleBindings.create
- container.clusterRoleBindings.get
- container.clusterRoleBindings.update
- container.clusterRoles.bind
- container.clusterRoles.create
- container.clusterRoles.escalate
- container.operations.get
- compute.regions.get
- compute.regions.list
- compute.zones.get
- compute.zones.list
- compute.machineTypes.get
- compute.machineTypes.list
- compute.networks.list
- compute.subnetworks.get
- iam.serviceAccounts.actAs
- name: cloudcasa-iam-member-project
type: gcp-types/cloudresourcemanager-v1:virtual.projects.iamMemberBinding
properties:
resource: {{ env["project"] }}
member: "serviceAccount:cloudcasa-poc@wired-ripsaw-330217.iam.gserviceaccount.com"
role: projects/{{ env["project"] }}/roles/CloudCasa
metadata:
dependsOn:
- cloudcasa-role