projectatomic / nulecule

[UNMAINTAINED] Specification describing a container-based application
209 stars 46 forks source link

Support for binding parameter values together? #212

Open eriknelson opened 7 years ago

eriknelson commented 7 years ago

Hello all,

A number of us are working at building some tooling around nulecule and improving the spec; a notable improvement would be support for linking two parameters together in some way so that their value is shared. A good example of this is the etherpad-centos7-atomicapp, where db_user, db_pass, and db_name exist on both the etherpad-atomicapp, and the mariadb-atomicapp.

We've considered an enhancement and are experimenting with one-way-binding. I know this particular issue has been identified before; curious where those conversations left off and to get any feedback on our approach.

cdrage commented 7 years ago

Hey @eriknelson so I see no problem with the spec changes. Although @rtnpro could perhaps jump in on this discussion in regards to his effort towards global variables.

Using "binds" sounds like a reasonable solution to the problem we've been having with essentially copy-and-pasting in variables all-over-the-place.