Skip to content

Commit

Permalink
Add app maintenance spec with enabled field (#930)
Browse files Browse the repository at this point in the history
The enabled field allows users to enable/disable maintenance mode.

Co-authored-by: Andrew Starr-Bochicchio <[email protected]>
  • Loading branch information
blesswinsamuel and andrewsomething authored Oct 22, 2024
1 parent f91f775 commit 38f74b1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions specification/resources/apps/models/app_maintenance_spec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
type: object
description: Specification to configure maintenance settings for the app, such as maintenance mode.
properties:
enabled:
type: boolean
description: Indicates whether maintenance mode should be enabled for the app.
example: true
3 changes: 3 additions & 0 deletions specification/resources/apps/models/app_spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,8 @@ properties:
egress:
$ref: app_egress_spec.yml

maintenance:
$ref: app_maintenance_spec.yml

required:
- name

0 comments on commit 38f74b1

Please sign in to comment.