Skip to content

Commit

Permalink
Blewis/block device container volume (#485)
Browse files Browse the repository at this point in the history
* add block device to container volume

* spelling
  • Loading branch information
blewisCycle authored Oct 29, 2024
1 parent ca8a892 commit 478ae14
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions components/schemas/containers/config/ContainerVolume.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@ type: object
description: Configuration settings for container volumes.
required:
- read_only
- block_device
- destination
properties:
read_only:
type: boolean
description: A boolean where true marks the volume as read only.
block_device:
type: boolean
description: |
Indicates that the volume will be used as unformatted block storage.
local:
type: object
description: Configuration for settings local to the container filesystem.
Expand Down
7 changes: 6 additions & 1 deletion stackspec/schema/StackSpecContainerVolume.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ description: A container volume configuration.
type: object
required:
- destination
- read_only
properties:
local:
description: Configuration options for local volumes.
Expand Down Expand Up @@ -36,6 +35,12 @@ properties:
oneOf:
- type: boolean
- $ref: StackVariable.yml
block_device:
oneOf:
- type: boolean
- $ref: StackVariable.yml
description: |
Indicates that the volume will be used as unformatted block storage.
remote_access:
description: Configuration options for setting up remote access to this volume via SFTP.
oneOf:
Expand Down

0 comments on commit 478ae14

Please sign in to comment.