Skip to content

Commit b5110f1

Browse files
authored
feat: Onboard DA to IBM catalog (#472)
1 parent c22c663 commit b5110f1

File tree

4 files changed

+306
-1
lines changed

4 files changed

+306
-1
lines changed

.catalog-onboard-pipeline.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
apiVersion: v1
3+
offerings:
4+
- name: deploy-arch-ibm-icd-mongodb
5+
kind: solution
6+
catalog_id: 7df1e4ca-d54c-4fd0-82ce-3d13247308cd
7+
offering_id: 39b67380-7bc8-407f-832c-d610afa17d53
8+
variations:
9+
- name: standard
10+
mark_ready: true
11+
install_type: fullstack
12+
scc:
13+
instance_id: 1c7d5f78-9262-44c3-b779-b28fe4d88c37
14+
region: us-south

.releaserc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
}],
1111
["@semantic-release/exec", {
1212
"successCmd": "echo \"SEMVER_VERSION=${nextRelease.version}\" >> $GITHUB_ENV"
13-
}]
13+
}],
14+
[
15+
"@semantic-release/exec",
16+
{
17+
"publishCmd": "./ci/trigger-catalog-onboarding-pipeline.sh --version=v${nextRelease.version}"
18+
}
19+
]
1420
]
1521
}

ibm_catalog.json

Lines changed: 281 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,281 @@
1+
{
2+
"products": [
3+
{
4+
"name": "deploy-arch-ibm-icd-mongodb",
5+
"label": "Cloud automation for Databases for MongoDB",
6+
"product_kind": "solution",
7+
"tags": [
8+
"ibm_created",
9+
"target_terraform",
10+
"terraform",
11+
"data_management",
12+
"solution"
13+
],
14+
"keywords": [
15+
"mongodb",
16+
"IaC",
17+
"infrastructure as code",
18+
"terraform",
19+
"solution",
20+
"mongodb standard",
21+
"database",
22+
"relational"
23+
],
24+
"short_description": "Creates and configures an instance of IBM Cloud Databases for MongoDB.",
25+
"long_description": "This architecture supports creating and configuring an instance of Databases for MongoDB with KMS encryption.",
26+
"offering_docs_url": "https://github.com/terraform-ibm-modules/terraform-ibm-icd-mongodb/blob/main/README.md",
27+
"offering_icon_url": "https://raw.githubusercontent.com/terraform-ibm-modules/terraform-ibm-icd-mongodb/main/images/mongodb.svg",
28+
"provider_name": "IBM",
29+
"features": [
30+
{
31+
"title": "Creates an instance of Databases for MongoDB",
32+
"description": "Creates and configures an IBM Cloud Databases for MongoDB instance."
33+
},
34+
{
35+
"title": "Supports KMS encryption",
36+
"description": "Provides KMS encryption for the data that you store in the database."
37+
},
38+
{
39+
"title": "Supports autoscaling",
40+
"description": "Provides the autoscaling to allow the database to increase resources in response to usage."
41+
},
42+
{
43+
"title": "Supports backup restoration",
44+
"description": "Provides database restoration using a backup created by a deployment with the same service ID."
45+
}
46+
],
47+
"flavors": [
48+
{
49+
"label": "Standard",
50+
"name": "standard",
51+
"install_type": "fullstack",
52+
"working_directory": "solutions/standard",
53+
"compliance": {
54+
"authority": "scc-v3",
55+
"profiles": [
56+
{
57+
"profile_name": "IBM Cloud Framework for Financial Services",
58+
"profile_version": "1.7.0"
59+
}
60+
]
61+
},
62+
"iam_permissions": [
63+
{
64+
"role_crns": [
65+
"crn:v1:bluemix:public:iam::::role:Editor"
66+
],
67+
"service_name": "databases-for-mongodb"
68+
},
69+
{
70+
"role_crns": [
71+
"crn:v1:bluemix:public:iam::::serviceRole:Manager",
72+
"crn:v1:bluemix:public:iam::::role:Editor"
73+
],
74+
"service_name": "kms"
75+
}
76+
],
77+
"architecture": {
78+
"descriptions": "This architecture creates an instance of IBM Cloud Databases for MongoDB instance with KMS encryption. Supports autoscaling.",
79+
"features": [
80+
{
81+
"title": " Creates an instance of Databases for MongoDB",
82+
"description": "This architecture creates an instance of IBM Cloud Databases for MongoDB with KMS encryption. It accepts or creates a resource group, and provides autoscaling rules."
83+
}
84+
],
85+
"diagrams": [
86+
{
87+
"diagram": {
88+
"caption": "Databases for MongoDB instance on IBM Cloud",
89+
"url": "https://raw.githubusercontent.com/terraform-ibm-modules/terraform-ibm-icd-mongodb/main/reference-architecture/deployable-architecture-mongodb.svg",
90+
"type": "image/svg+xml"
91+
},
92+
"description": "This architecture supports creating and configuring an instance of Databases for MongoDB instance with KMS encryption."
93+
}
94+
]
95+
},
96+
"configuration": [
97+
{
98+
"key": "ibmcloud_api_key"
99+
},
100+
{
101+
"key": "provider_visibility",
102+
"options": [
103+
{
104+
"displayname": "private",
105+
"value": "private"
106+
},
107+
{
108+
"displayname": "public",
109+
"value": "public"
110+
},
111+
{
112+
"displayname": "public-and-private",
113+
"value": "public-and-private"
114+
}
115+
]
116+
},
117+
{
118+
"key": "use_existing_resource_group"
119+
},
120+
{
121+
"key": "resource_group_name"
122+
},
123+
{
124+
"key": "prefix"
125+
},
126+
{
127+
"key": "name"
128+
},
129+
{
130+
"key": "region",
131+
"required": true,
132+
"default_value": "us-south",
133+
"options": [
134+
{
135+
"displayname": "Chennai (che01)",
136+
"value": "che01"
137+
},
138+
{
139+
"displayname": "Dallas (us-south)",
140+
"value": "us-south"
141+
},
142+
{
143+
"displayname": "Frankfurt (eu-de)",
144+
"value": "eu-de"
145+
},
146+
{
147+
"displayname": "London (eu-gb)",
148+
"value": "eu-gb"
149+
},
150+
{
151+
"displayname": "Madrid (eu-es)",
152+
"value": "eu-es"
153+
},
154+
{
155+
"displayname": "Osaka (jp-osa)",
156+
"value": "jp-osa"
157+
},
158+
{
159+
"displayname": "Paris (par01)",
160+
"value": "par01"
161+
},
162+
{
163+
"displayname": "Sao Paulo (br-sao)",
164+
"value": "br-sao"
165+
},
166+
{
167+
"displayname": "Sydney (au-syd)",
168+
"value": "au-syd"
169+
},
170+
{
171+
"displayname": "Toronto (ca-tor)",
172+
"value": "ca-tor"
173+
},
174+
{
175+
"displayname": "Tokyo (jp-tok)",
176+
"value": "jp-tok"
177+
},
178+
{
179+
"displayname": "Washington (us-east)",
180+
"value": "us-east"
181+
}
182+
]
183+
},
184+
{
185+
"key": "mongodb_version",
186+
"required": true,
187+
"options": [
188+
{
189+
"displayname": "6.0",
190+
"value": "6.0"
191+
}
192+
193+
]
194+
},
195+
{
196+
"key": "plan"
197+
},
198+
{
199+
"key": "members"
200+
},
201+
{
202+
"key": "member_memory_mb"
203+
},
204+
{
205+
"key": "member_cpu_count"
206+
},
207+
{
208+
"key": "member_disk_mb"
209+
},
210+
{
211+
"key": "member_host_flavor"
212+
},
213+
{
214+
"key": "service_credential_names"
215+
},
216+
{
217+
"key": "admin_pass"
218+
},
219+
{
220+
"key": "users"
221+
},
222+
{
223+
"key": "tags"
224+
},
225+
{
226+
"key": "access_tags"
227+
},
228+
{
229+
"key": "use_ibm_owned_encryption_key"
230+
},
231+
{
232+
"key": "existing_kms_instance_crn"
233+
},
234+
{
235+
"key": "existing_kms_key_crn"
236+
},
237+
{
238+
"key": "kms_endpoint_type"
239+
},
240+
{
241+
"key": "skip_mongodb_kms_auth_policy"
242+
},
243+
{
244+
"key": "ibmcloud_kms_api_key"
245+
},
246+
{
247+
"key": "key_ring_name"
248+
},
249+
{
250+
"key": "key_name"
251+
},
252+
{
253+
"key": "existing_backup_kms_key_crn"
254+
},
255+
{
256+
"key": "use_default_backup_encryption_key"
257+
},
258+
{
259+
"key": "auto_scaling"
260+
},
261+
{
262+
"key": "backup_crn"
263+
},
264+
{
265+
"key": "existing_secrets_manager_instance_crn"
266+
},
267+
{
268+
"key": "existing_secrets_manager_endpoint_type"
269+
},
270+
{
271+
"key": "service_credential_secrets"
272+
},
273+
{
274+
"key": "skip_mongodb_sm_auth_policy"
275+
}
276+
]
277+
}
278+
]
279+
}
280+
]
281+
}

images/mongodb.svg

Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)