deckhand/releasenotes/notes/fix-unique-layering-policy-bac2940c3deeba51.yaml
Felipe Monteiro 55b13dc4eb Only allow one LayeringPolicy to exist in the system.
This PS enforces the design requirement that says that only 1
layering policy can exist in the system at once. Attempting to
create another layering policy with a different name is a 409 error.
The existing layering policy can be updated by passing in a document
with the same `metadata.name` and `schema` as the existing one.

Closes-Bug: https://github.com/att-comdev/deckhand/issues/12
Change-Id: I7cad2d600c931c8701c3faaf2967be782984528b
2017-10-26 17:38:24 -04:00

8 lines
324 B
YAML

---
fixes:
- |
Deckhand will allow only one document with the schema ``LayeringPolicy``
to exist in the system at a time. To update the existing layering policy,
the layerign policy with the same name as the existing one should be
passed in. To create a new layering policy, delete the existing one first.