Skip to content

Commit

Permalink
fix crd
Browse files Browse the repository at this point in the history
Signed-off-by: dmitry.lopatin <[email protected]>
  • Loading branch information
LopatinDmitr committed Oct 13, 2024
1 parent f48d79f commit 0ea7c28
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
9 changes: 9 additions & 0 deletions crds/doc-ru-virtualimages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ spec:
properties:
spec:
properties:
persistentVolumeClaim:
description: |
Настройки для создания PVC для хранения образа с хранилищем типа 'Kubernetes'.
properties:
storageClassName:
description: |
Имя StorageClass, требуемого для PersistentVolumeClaim. Дополнительная информация — https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1.
При создании образа с хранилищем типа 'Kubernetes' пользователь может указать требуемый StorageClass для создания диска, либо не указывать явно и в этом случае будет использован StorageClass доступный по умолчанию.
dataSource:
description: |
Тип источника, из которого будет создан образ.
Expand Down
11 changes: 11 additions & 0 deletions crds/virtualimages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,17 @@ spec:
* `ContainerRegistry` — use a dedicated deckhouse virtualization container registry (DVCR). In this case, images will be downloaded and injected to a container, then pushed to a DVCR (shipped with the virtualization module).
* `Kubernetes` - use a Persistent Volume Claim (PVC).
persistentVolumeClaim:
type: object
description: |
Settings for creating PVCs to store the image with storage type 'Kubernetes'.
properties:
storageClassName:
type: string
description: |
The name of the StorageClass required by the claim. More info — https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
When creating image with storage type 'Kubernetes', the user can specify the required StorageClass to create the image, or not explicitly, in which case the default StorageClass will be used.
dataSource:
type: object
description: |
Expand Down

0 comments on commit 0ea7c28

Please sign in to comment.