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

Update the LogicalVolumes.topolvm.cybozu.com CRD. #224

Merged
merged 2 commits into from
Jul 5, 2022
Merged
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
19 changes: 7 additions & 12 deletions bundle/manifests/topolvm.cybozu.com_logicalvolumes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,9 @@ spec:
properties:
accessType:
description: '''accessType'' specifies how the user intends to consume
the snapshot logical volume. Allowed values are: "ro" (read-only)
and "rw" (read-write). Since the kubernetes snapshots are Read-Only,
set accessType as ''ro'' to activate thin-snapshots as read-only
volumes. On the other hand, set accessType as ''rw'' to activate
thin-snapshots as read-write volumes.'
the snapshot logical volume. Set to "ro" when creating a snapshot
and to "rw" when restoring a snapshot or creating a clone. This
field is populated only when LogicalVolume has a source.'
type: string
deviceClass:
type: string
Expand All @@ -54,13 +52,10 @@ spec:
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
sourceID:
description: '''sourceID'' specifies the volumeID of the parent logical
volume; if present.'
type: string
type:
description: '''type'' specifies the logical volume type. Can be ''thin-snapshot''
or left empty in case of a regular volume.'
source:
description: '''source'' specifies the logicalvolume name of the source;
if present. This field is populated only when LogicalVolume has
a source.'
type: string
required:
- name
Expand Down
19 changes: 7 additions & 12 deletions config/crd/bases/topolvm.cybozu.com_logicalvolumes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,9 @@ spec:
properties:
accessType:
description: '''accessType'' specifies how the user intends to consume
the snapshot logical volume. Allowed values are: "ro" (read-only)
and "rw" (read-write). Since the kubernetes snapshots are Read-Only,
set accessType as ''ro'' to activate thin-snapshots as read-only
volumes. On the other hand, set accessType as ''rw'' to activate
thin-snapshots as read-write volumes.'
the snapshot logical volume. Set to "ro" when creating a snapshot
and to "rw" when restoring a snapshot or creating a clone. This
field is populated only when LogicalVolume has a source.'
type: string
deviceClass:
type: string
Expand All @@ -56,13 +54,10 @@ spec:
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
sourceID:
description: '''sourceID'' specifies the volumeID of the parent logical
volume; if present.'
type: string
type:
description: '''type'' specifies the logical volume type. Can be ''thin-snapshot''
or left empty in case of a regular volume.'
source:
description: '''source'' specifies the logicalvolume name of the source;
if present. This field is populated only when LogicalVolume has
a source.'
type: string
required:
- name
Expand Down