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
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
---
|
||||
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.
|
||||
Reference in New Issue
Block a user