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

add shared directory to container.config.runtime #196

Merged
merged 9 commits into from
Nov 2, 2023
Merged
23 changes: 23 additions & 0 deletions components/schemas/containers/config/ContainerRuntime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,29 @@ properties:
type: array
items:
$ref: seccomp/SeccompRule.yml
host:
nullable: true
type: object
properties:
expose_proc:
nullable: true
type: boolean
shared_directories:
nullable: true
type: array
items:
type: object
required:
- identifier
- writable
- mount_point
properties:
identifier:
type: string
writable:
type: boolean
mount_point:
type: string
rootfs:
type: object
properties:
Expand Down
21 changes: 21 additions & 0 deletions components/schemas/stacks/spec/StackContainerConfigRuntime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,27 @@ properties:
- SCMP_CMP_GE
- SCMP_CMP_GT
- SCMP_CMP_MASKED_EQ
host:
nullable: true
type: object
properties:
expose_proc:
nullable: true
type: boolean
shared_directories:
nullable: true
type: object
required:
- identifier
- writable
- mount_point
properties:
identifier:
type: string
writable:
type: boolean
mount_point:
type: string
privileged:
type: boolean
capabilities:
Expand Down