Skip to content

Commit a034d91

Browse files
authored
volume stack spec udpates to external (#754)
1 parent b201cc5 commit a034d91

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

components/schemas/infrastructure/external-volumes/ExternalVolumeEvents.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ properties:
1515
deleted:
1616
description: The timestamp of when the attached volume was deleted.
1717
$ref: "../../DateTime.yml"
18+
last_verified:
19+
$ref: "../../DateTime.yml"
20+
description: >
21+
Timestamp of the last successful verification event for this volume.
1822
last_sync:
1923
$ref: "../../DateTime.yml"
2024
description: >

stackspec/schema/StackSpecContainerVolume.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,13 @@ properties:
2828
external:
2929
anyOf:
3030
- type: object
31-
required:
32-
- mode
3331
properties:
3432
id:
3533
oneOf:
36-
- $ref: ../../components/schemas/ID.yml
34+
- $ref: ../../components/schemas/HybridIdentifier.yml
3735
- $ref: StackVariable.yml
3836
- type: "null"
3937
description: The ID of the external volume.
40-
mode:
41-
oneOf:
42-
- type: string
43-
description: The attachment mode for the external volume.
44-
enum: [instance, host]
45-
- $ref: StackVariable.yml
4638
- $ref: StackVariable.yml
4739
- type: "null"
4840
destination:

0 commit comments

Comments
 (0)