Commit 5ac2df5
committed
update(schemas): relax environment id requirement in service upgraded
Some CD tools (e.g. Spinnaker) have no concept of environment, forcing
producers to set id to a placeholder like "n/a". This change adds a
tier field with x-suggested-values (prod, nonprod, unknown) and relaxes
the constraint to require at least one of id or tier, so tools without
a meaningful environment id can use tier instead.
Signed-off-by: xibz <bjp@apple.com>1 parent 73ae696 commit 5ac2df5
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
| |||
78 | 83 | | |
79 | 84 | | |
80 | 85 | | |
81 | | - | |
82 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
83 | 89 | | |
84 | 90 | | |
85 | 91 | | |
| |||
0 commit comments