diff --git a/components/schemas/images/Image.yml b/components/schemas/images/Image.yml index c0737310..37eedf99 100644 --- a/components/schemas/images/Image.yml +++ b/components/schemas/images/Image.yml @@ -70,6 +70,9 @@ properties: description: Arguments to pass to the builder during a build of this image. additionalProperties: type: string + use_disk: + type: boolean + description: If true, will skip using /dev/shm when building an image on factory. Allows for building much larger images. - type: "null" builder: diff --git a/components/schemas/infrastructure/external-volumes/ExternalVolumeOptions.yml b/components/schemas/infrastructure/external-volumes/ExternalVolumeOptions.yml index 28266f2d..c67cda30 100644 --- a/components/schemas/infrastructure/external-volumes/ExternalVolumeOptions.yml +++ b/components/schemas/infrastructure/external-volumes/ExternalVolumeOptions.yml @@ -2,10 +2,9 @@ title: ExternalVolumeOptions type: object description: Configuration options controlling the behavior of the volume. required: - - read_only + - create properties: - read_only: + create: type: boolean description: > - When true, the volume is attached as read-only and cannot be modified by - the consuming resource. + If the volume doesn't exist, attempt to create it on container start. diff --git a/platform/paths/images/images.yml b/platform/paths/images/images.yml index 0498c4b6..e3640ebf 100644 --- a/platform/paths/images/images.yml +++ b/platform/paths/images/images.yml @@ -122,6 +122,9 @@ post: description: An object holding key value build time arguments needed for the Image during build time. additionalProperties: type: string + use_disk: + type: boolean + description: If true, will skip using /dev/shm when building an image on factory. Allows for building much larger images. override: type: object description: An override object to be used for a single Image create request. diff --git a/platform/paths/infrastructure/external-volumes/external-volume.yml b/platform/paths/infrastructure/external-volumes/external-volume.yml index ff193d64..1fb3cabc 100644 --- a/platform/paths/infrastructure/external-volumes/external-volume.yml +++ b/platform/paths/infrastructure/external-volumes/external-volume.yml @@ -71,6 +71,8 @@ patch: identifier: description: The new identifier of the external volume. $ref: "../../../../components/schemas/Identifier.yml" + options: + $ref: ../../../../components/schemas/infrastructure/external-volumes/ExternalVolumeOptions.yml about: type: object properties: