Deploying HCL CDP ExternalAPI
This section provides detailed instructions on how to deploy HCL CDP External API using the Devtron in the OpenShift.
Prerequisites
Make sure to create cdp-externalapi secret in HashiCorp vault before deploying HCL CDP Trigger.
To create HCL CDP Trigger secret in the HashiCorp vault, follow the steps below:
- Create a cdp-smsemailsender secret sample key and value, and update the actual values
as shown below.
{ "DbUrl": "jdbc:mariadb://ip:port/dbName", "DbUserPassword": "dbPwd", "DbUsername": "dbUser" }
- Update ConfigMaps data with actual values, and create required Kafka topics before deployment.
Deploy HCL CDP External API
To deploy HCL CDP External API using Devtron in Openshift platform, follow the steps below:
- Navigate to the Devtron Chart Store, and select the cdp-externalapi chart to deploy.
- Now, configure and deploy the cdp-trigger charts.
- In the YAML section, update the ConfigMap using the below details and deploy the chart.
DbConnectionTimeout: "30000" DbDriver: org.mariadb.jdbc.Driver DbSQL: "true" HibernateDialect: innodb HibernateNaming: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl JpaHibernate: org.hibernate.dialect.MySQL5Dialect LOG_LEVEL_APP: debug LOG_LEVEL_ROOT: debug ServerPort: "8080"
- On successful deployment, validate the deployment as shown below.