8 Commits

Author SHA1 Message Date
Dalton Hubble
1ccee77050 api: Allow nested map[string]interface{} template data
* Support templating lists into Ignition (e.g. SSH authorized keys)
2016-02-05 15:12:23 -08:00
Dalton Hubble
68437b9e2d api: Allow Ignition config templates in YAML
* Match machines to their Ignition template file, render the
template, parse as JSON or YAML, and serve as Ignition JSON
* Existing JSON ignition configs should still work
* Remove the Ignition YAML -> JSON transform script which used fuze
2016-02-04 13:45:11 -08:00
Dalton Hubble
a945c1c660 api: Add Cloud-init config templating 2016-02-01 22:09:39 -08:00
Dalton Hubble
27eb545ca4 api: Implement Ignition config templating 2016-02-01 11:34:05 -08:00
Dalton Hubble
bf72dde027 api: Convert handlers to ContextHandlers to isolate responsibility
* Add SpecMatcherHandler to match machine requests to Specs
2016-01-15 18:05:07 -08:00
Dalton Hubble
bb976840e1 Documentation: Add group matcher docs, improve docs and examples
* Remove Machine docs since machine resources are no longer used
2016-01-08 12:12:48 -08:00
Dalton Hubble
ccd3c7a839 api: Associate machines' attribute labels to specs by group matchers
* Use YAML group config to match machine labels to groups of zero or
more machines sharing a Specification
* Discontinue using machine.json resources representations which are
repetitive, don't support groups, and don't allow label matching
* Previous "default" special case now handled by a Group with an empty
matcher
2016-01-07 23:24:05 -08:00
Dalton Hubble
d880a332de api: Add API endpoint to provide ignition configs
* Add ignition_id field to Spec JSON schema
2016-01-04 15:19:06 -08:00