Skip to content

Commit

Permalink
feat: onboard DA to IBM catalog (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
jor2 authored Jan 21, 2025
1 parent eb2a86a commit 591540b
Show file tree
Hide file tree
Showing 4 changed files with 329 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .catalog-onboard-pipeline.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
apiVersion: v1
offerings:
- name: deploy-arch-ibm-icd-mysql
kind: solution
catalog_id: 7df1e4ca-d54c-4fd0-82ce-3d13247308cd
offering_id: 4be16b65-3efc-457e-bc30-690e3ac7a6a1
variations:
- name: standard
mark_ready: true
install_type: fullstack
scc:
instance_id: 1c7d5f78-9262-44c3-b779-b28fe4d88c37
region: us-south
3 changes: 3 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
}],
["@semantic-release/exec", {
"successCmd": "echo \"SEMVER_VERSION=${nextRelease.version}\" >> $GITHUB_ENV"
}],
["@semantic-release/exec",{
"publishCmd": "./ci/trigger-catalog-onboarding-pipeline.sh --version=v${nextRelease.version}"
}]
]
}
296 changes: 296 additions & 0 deletions ibm_catalog.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,296 @@
{
"products": [
{
"name": "deploy-arch-ibm-icd-mysql",
"label": "Cloud automation for Databases for MySQL",
"product_kind": "solution",
"tags": [
"ibm_created",
"target_terraform",
"terraform",
"data_management",
"solution"
],
"keywords": [
"mysql",
"IaC",
"infrastructure as code",
"terraform",
"solution",
"mysql standard",
"cache",
"in memory"
],
"short_description": "Creates and configures an instance of IBM Cloud Databases for MySQL.",
"long_description": "This architecture supports creating and configuring an instance of Databases for MySQL with KMS encryption.",
"offering_docs_url": "https://github.com/terraform-ibm-modules/terraform-ibm-icd-mysql/blob/main/README.md",
"offering_icon_url": "https://raw.githubusercontent.com/terraform-ibm-modules/terraform-ibm-icd-mysql/main/images/mysql_icon.svg",
"provider_name": "IBM",
"features": [
{
"title": "Creates an instance of Databases for MySQL",
"description": "Creates and configures an IBM Cloud Databases for MySQL instance."
},
{
"title": "Supports KMS encryption",
"description": "Provides KMS encryption for the data that you store in the database."
},
{
"title": "Supports autoscaling",
"description": "Provides the autoscaling to allow the database to increase resources in response to usage."
},
{
"title": "Supports backup restoration",
"description": "Provides database restoration using a backup created by a deployment with the same service ID."
}
],
"flavors": [
{
"label": "Standard",
"name": "standard",
"install_type": "fullstack",
"working_directory": "solutions/standard",
"compliance": {
"authority": "scc-v3",
"profiles": [
{
"profile_name": "IBM Cloud Framework for Financial Services",
"profile_version": "1.7.0"
}
]
},
"iam_permissions": [
{
"role_crns": [
"crn:v1:bluemix:public:iam::::role:Administrator"
],
"service_name": "all-account-management-services"
},
{
"role_crns": [
"crn:v1:bluemix:public:iam::::role:Editor"
],
"service_name": "databases-for-mysql"
},
{
"role_crns": [
"crn:v1:bluemix:public:iam::::serviceRole:Manager",
"crn:v1:bluemix:public:iam::::role:Editor"
],
"service_name": "kms"
}
],
"architecture": {
"descriptions": "This architecture creates an instance of IBM CLoud Databases for MySQL instance with KMS encryption. Supports autoscaling.",
"features": [
{
"title": " Creates an instance of Databases for MySQL",
"description": "This architecture creates an instance of IBM Cloud Databases for MySQL with KMS encryption. It accepts or creates a resource group, and provides autoscaling rules."
}
],
"diagrams": [
{
"diagram": {
"caption": "Databases for MySQL instance on IBM Cloud",
"url": "https://raw.githubusercontent.com/terraform-ibm-modules/terraform-ibm-icd-mysql/main/reference-architecture/deployable-architecture-mysql.svg",
"type": "image/svg+xml"
},
"description": "This architecture supports creating and configuring an instance of Databases for MySQL instance with KMS encryption."
}
]
},
"configuration": [
{
"key": "ibmcloud_api_key"
},
{
"key": "provider_visibility",
"options": [
{
"displayname": "private",
"value": "private"
},
{
"displayname": "public",
"value": "public"
},
{
"displayname": "public-and-private",
"value": "public-and-private"
}
]
},
{
"key": "use_existing_resource_group"
},
{
"key": "resource_group_name"
},
{
"key": "prefix"
},
{
"key": "name"
},
{
"key": "region",
"required": true,
"default_value": "us-south",
"options": [
{
"displayname": "Chennai (che01)",
"value": "che01"
},
{
"displayname": "Dallas (us-south)",
"value": "us-south"
},
{
"displayname": "Frankfurt (eu-de)",
"value": "eu-de"
},
{
"displayname": "London (eu-gb)",
"value": "eu-gb"
},
{
"displayname": "Madrid (eu-es)",
"value": "eu-es"
},
{
"displayname": "Osaka (jp-osa)",
"value": "jp-osa"
},
{
"displayname": "Paris (par01)",
"value": "par01"
},
{
"displayname": "Sao Paulo (br-sao)",
"value": "br-sao"
},
{
"displayname": "Sydney (au-syd)",
"value": "au-syd"
},
{
"displayname": "Toronto (ca-tor)",
"value": "ca-tor"
},
{
"displayname": "Tokyo (jp-tok)",
"value": "jp-tok"
},
{
"displayname": "Washington (us-east)",
"value": "us-east"
}
]
},
{
"key": "mysql_version",
"required": true,
"options": [
{
"displayname": "6.2",
"value": "6.2"
},
{
"displayname": "7.2",
"value": "7.2"
}
]
},
{
"key": "members"
},
{
"key": "member_memory_mb"
},
{
"key": "member_cpu_count"
},
{
"key": "member_disk_mb"
},
{
"key": "member_host_flavor"
},
{
"key": "service_credential_names"
},
{
"key": "admin_pass"
},
{
"key": "users"
},
{
"key": "tags"
},
{
"key": "ibmcloud_kms_api_key"
},
{
"key": "existing_kms_instance_crn",
"required": true
},
{
"key": "existing_kms_key_crn"
},
{
"key": "kms_endpoint_type",
"options": [
{
"displayname": "public",
"value": "public"
},
{
"displayname": "private",
"value": "private"
}
]
},
{
"key": "key_ring_name"
},
{
"key": "key_name"
},
{
"key": "auto_scaling"
},
{
"key": "existing_secrets_manager_instance_crn"
},
{
"key": "existing_secrets_manager_endpoint_type",
"options": [
{
"displayname": "public",
"value": "public"
},
{
"displayname": "private",
"value": "private"
}
]
},
{
"key": "service_credential_secrets"
},
{
"key": "skip_mysql_sm_auth_policy"
},
{
"key": "skip_mysql_kms_auth_policy"
},
{
"key": "backup_crn"
}
]
}
]
}
]
}
16 changes: 16 additions & 0 deletions images/mysql_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 591540b

Please sign in to comment.