Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blewis/block device container volume #485

Merged
merged 2 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading