Skip to content

Commit

Permalink
chars: update NDM chart v0.7.1
Browse files Browse the repository at this point in the history
    - update the blockdevice CRD with new fields

Signed-off-by: Vicente Cheng <[email protected]>
  • Loading branch information
Vicente-Cheng authored and bk201 committed Aug 23, 2024
1 parent 9f0fa96 commit d468e7c
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 30 deletions.
4 changes: 2 additions & 2 deletions charts/harvester-node-disk-manager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.7.0
version: 0.7.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v0.7.0"
appVersion: "v0.7.1"

maintainers:
- name: harvester
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
{}
creationTimestamp: null
name: blockdevices.harvesterhci.io
spec:
group: harvesterhci.io
Expand Down Expand Up @@ -43,14 +41,19 @@ spec:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
Expand All @@ -66,9 +69,9 @@ spec:
overwrite the existing one
type: boolean
mountPoint:
description: 'DEPRECATED: no longer use and has no effect. a string
with the partition''s mount point, or "" if no mount point was
discovered'
description: |-
DEPRECATED: no longer use and has no effect.
a string with the partition's mount point, or "" if no mount point was discovered
type: string
provisioned:
description: a bool indicating whether the filesystem can be provisioned
Expand All @@ -84,9 +87,39 @@ spec:
nodeName:
description: name of the node to which the block device is attached
type: string
provisioner:
properties:
longhorn:
description: a provisioner for provision Longhorn volume backend
disk
properties:
engineVersion:
description: a string with the engine version for the provisioner
enum:
- LonghornV1
- LonghornV2
type: string
required:
- engineVersion
type: object
lvm:
description: a provisioner for provision LVM volume backend disk
properties:
parameters:
description: a string slice for the parameters
items:
type: string
type: array
vgName:
description: a string with the volume group name for the provisioner
type: string
required:
- vgName
type: object
type: object
tags:
description: a string list with device tag for provisioner, e.g. ["default",
"small", "ssd"]
description: a string slice with device tag for provisioner, e.g.
["default", "small", "ssd"]
items:
type: string
type: array
Expand Down Expand Up @@ -157,10 +190,9 @@ spec:
- part
type: string
driveType:
description: a string represents the type of drive bus, options
are "HDD", "FDD", "ODD", or "SSD", which correspond to a
hard disk drive (rotational), floppy drive, optical (CD/DVD)
drive and solid-state drive
description: |-
a string represents the type of drive bus, options are "HDD", "FDD", "ODD", or "SSD",
which correspond to a hard disk drive (rotational), floppy drive, optical (CD/DVD) drive and solid-state drive
enum:
- HDD
- FDD
Expand Down Expand Up @@ -208,9 +240,9 @@ spec:
- Unknown
type: string
uuid:
description: UUID is a filesystem-level UUID, which is retrieved
from the filesystem metadata inside the partition This would
be volume UUID on macOS, PartUUID on linux, empty on Windows
description: |-
UUID is a filesystem-level UUID, which is retrieved from the filesystem metadata inside the partition
This would be volume UUID on macOS, PartUUID on linux, empty on Windows
type: string
vendor:
description: a string with the name of the hardware vendor
Expand Down Expand Up @@ -254,8 +286,9 @@ spec:
- type
type: object
parentDevice:
description: a string with the parent device path of the disk,
e.g. "/dev/sda" e.g `/dev/sda` is the parent for `/dev/sda1`
description: |-
a string with the parent device path of the disk, e.g. "/dev/sda"
e.g `/dev/sda` is the parent for `/dev/sda1`
type: string
partitioned:
description: a bool indicating if the disk is partitioned
Expand Down Expand Up @@ -300,9 +333,3 @@ spec:
served: true
storage: true
subresources: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []

0 comments on commit d468e7c

Please sign in to comment.