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

Extend volumes #319

Closed
wants to merge 2 commits into from
Closed
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
137 changes: 137 additions & 0 deletions crds/workspace.devfile.io_devworkspaces.v1beta1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5614,6 +5614,41 @@ spec:
description: Allows specifying the definition
of a volume shared by several other components
properties:
external:
description: External defines information
about volumes that exist outside of the
current workspace. They are not created
or deleted while processing a devfile but
are still mounted into component containers.
When left empty, it is assumed that a new
volume is to be created.
properties:
name:
description: Name defines the name of
the resource
type: string
type:
description: "Type defines the type of
the resource: \n - `storage` specifies
that this volume refers to a PersistentVolumeClaim
- `configmap` specifies that this volume
refers to a ConfigMap - `secret` specifies
that this volume refers to a Secret
kubebuilder:validation:Enum=\"storage,configmap,secret\""
type: string
type: object
persistent:
description: Persistent defines whether to
use persistent storage for this volume.
Defaults to true. When set to false, storage
is tied to a pod lifecycle and is erased
on delete.
type: boolean
readonly:
description: ReadOnly specifies whether the
volume should be mounted without write capabilities.
Defaults to false.
type: boolean
size:
description: Size of the volume
type: string
Expand Down Expand Up @@ -5654,6 +5689,40 @@ spec:
description: Allows specifying the definition of a volume
shared by several other components
properties:
external:
description: External defines information about volumes
that exist outside of the current workspace. They
are not created or deleted while processing a devfile
but are still mounted into component containers. When
left empty, it is assumed that a new volume is to
be created.
properties:
name:
description: Name defines the name of the resource
type: string
type:
description: "Type defines the type of the resource:
\n - `storage` specifies that this volume refers
to a PersistentVolumeClaim - `configmap` specifies
that this volume refers to a ConfigMap - `secret`
specifies that this volume refers to a Secret
kubebuilder:validation:Enum=\"storage,configmap,secret\""
type: string
required:
- name
- type
type: object
persistent:
description: Persistent defines whether to use persistent
storage for this volume. Defaults to true. When set
to false, storage is tied to a pod lifecycle and is
erased on delete.
type: boolean
readonly:
description: ReadOnly specifies whether the volume should
be mounted without write capabilities. Defaults to
false.
type: boolean
size:
description: Size of the volume
type: string
Expand Down Expand Up @@ -7161,6 +7230,43 @@ spec:
description: Allows specifying the definition
of a volume shared by several other components
properties:
external:
description: External defines information
about volumes that exist outside of
the current workspace. They are not
created or deleted while processing
a devfile but are still mounted into
component containers. When left empty,
it is assumed that a new volume is to
be created.
properties:
name:
description: Name defines the name
of the resource
type: string
type:
description: "Type defines the type
of the resource: \n - `storage`
specifies that this volume refers
to a PersistentVolumeClaim - `configmap`
specifies that this volume refers
to a ConfigMap - `secret` specifies
that this volume refers to a Secret
kubebuilder:validation:Enum=\"storage,configmap,secret\""
type: string
type: object
persistent:
description: Persistent defines whether
to use persistent storage for this volume.
Defaults to true. When set to false,
storage is tied to a pod lifecycle and
is erased on delete.
type: boolean
readonly:
description: ReadOnly specifies whether
the volume should be mounted without
write capabilities. Defaults to false.
type: boolean
size:
description: Size of the volume
type: string
Expand Down Expand Up @@ -7200,6 +7306,37 @@ spec:
description: Allows specifying the definition of a volume
shared by several other components
properties:
external:
description: External defines information about
volumes that exist outside of the current workspace.
They are not created or deleted while processing
a devfile but are still mounted into component
containers. When left empty, it is assumed that
a new volume is to be created.
properties:
name:
description: Name defines the name of the resource
type: string
type:
description: "Type defines the type of the resource:
\n - `storage` specifies that this volume
refers to a PersistentVolumeClaim - `configmap`
specifies that this volume refers to a ConfigMap
- `secret` specifies that this volume refers
to a Secret kubebuilder:validation:Enum=\"storage,configmap,secret\""
type: string
type: object
persistent:
description: Persistent defines whether to use persistent
storage for this volume. Defaults to true. When
set to false, storage is tied to a pod lifecycle
and is erased on delete.
type: boolean
readonly:
description: ReadOnly specifies whether the volume
should be mounted without write capabilities.
Defaults to false.
type: boolean
size:
description: Size of the volume
type: string
Expand Down
Loading