Skip to content

Commit

Permalink
add shared directory to container.config.runtime (#196)
Browse files Browse the repository at this point in the history
* add shared directory to container.config.runtime

* add host/shared dir to stack spec

* spelling

* spelling

* array of shared dir

* update to object

* move to intagrations

---------

Co-authored-by: Alexander Mattoni <[email protected]>
  • Loading branch information
blewisCycle and mattoni authored Nov 2, 2023
1 parent 0b690da commit 4d6a51b
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
13 changes: 13 additions & 0 deletions components/schemas/containers/config/ContainerIntegrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,16 @@ properties:
allOf:
- $ref: ../../Duration.yml
default: "365d"
shared_directories:
nullable: true
type: object
additionalProperties:
type: object
required:
- writable
- mount_point
properties:
writable:
type: boolean
mount_point:
type: string
7 changes: 7 additions & 0 deletions components/schemas/containers/config/ContainerRuntime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,13 @@ properties:
type: array
items:
$ref: seccomp/SeccompRule.yml
host:
nullable: true
type: object
properties:
expose_proc:
nullable: true
type: boolean
rootfs:
type: object
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,16 @@ properties:
allOf:
- $ref: ../../Duration.yml
default: "365d"
shared_directories:
nullable: true
type: object
additionalProperties:
type: object
required:
- writable
- mount_point
properties:
writable:
type: boolean
mount_point:
type: string
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,13 @@ properties:
- SCMP_CMP_GE
- SCMP_CMP_GT
- SCMP_CMP_MASKED_EQ
host:
nullable: true
type: object
properties:
expose_proc:
nullable: true
type: boolean
privileged:
type: boolean
capabilities:
Expand Down

0 comments on commit 4d6a51b

Please sign in to comment.