Skip to content

Instantly share code, notes, and snippets.

@iocanel
Created June 17, 2015 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iocanel/09e249649ed3dd61c195 to your computer and use it in GitHub Desktop.
Save iocanel/09e249649ed3dd61c195 to your computer and use it in GitHub Desktop.
Kubernetes JSON for camel cdi container with multiple configured datasources.
{
"image": "camel-cdi-jdbc",
"imagePullPolicy": "IfNotPresent",
"name": "camel-cdi-jdbc",
"env": [
{
"name": "MYSQL_SERVICE_USERNAME",
"value": "admin"
},
{
"name": "MYSQL_SERVICE_PASSWORD",
"value": "password"
},
{
"name": "MYSQL_SERVICE_DATABASE_NAME",
"value": "customers"
},
{
"name": "MYSQL_TARGET_USERNAME",
"value": "targetUser"
},
{
"name": "MYSQL_TARGET_PASSWORD",
"value": "targetPassword"
},
{
"name": "MYSQL_TARGET_DATABASE_NAME",
"value": "targetCustomers"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment