projectatomic / nulecule

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

Autogenerated Parameters #186

Open markllama opened 8 years ago

markllama commented 8 years ago

As an atomicapp developer I would like to be able to define some parameters which are autogenerated from a pattern So that I can avoid having to provide values which are only used to connect two containers.

Use Case Example:

When creating internal only databases, the database server and consumer must agree on username/password or client/server certificates, but the precise values are unimportant because they are only used internally. I would like to be able to have

Nulecule specification change:

params:
  - name: dbuser
  - description: The name of the database read/write user
  - generate: "expression"
  - from: <RE pattern>
kanarip commented 8 years ago

@markllama very much +1 like on projectatomic/atomicapp#408