This repository was archived by the owner on Jan 19, 2018. It is now read-only.

Description
Problem Statement
Some of the Nulecule applications in the nulecule-library, such as MariaDB and MongoDB, can only be used once within an application's (nested) graph, because the Pod and Service created by the Kubernetes provider carries a non-unique name (in their pod and service definitions).
Suggested Solution(s)
- Support the
generateName property in the artifacts, such that a mariadb-centos7-atomicapp can be pulled in more than once and pods and services are not called a duplicate "mariadb".
- Substitute the included atomicapp's
name with the name the parent gives the application in the graph, i.e.;
graph: [
{
"name": "myapp-mariadb",
"source": "docker://projectatomic/mariadb-centos7-atomicapp"
},
{
"name": "anotherapp-mariadb",
"source": "docker://projectatomic/mariadb-centos7-atomicapp"
}
]