update charts
diff --git a/charts/longhorn/templates/crds.yaml b/charts/longhorn/templates/crds.yaml
index 0f73824..ac56efe 100644
--- a/charts/longhorn/templates/crds.yaml
+++ b/charts/longhorn/templates/crds.yaml
@@ -296,12 +296,6 @@
properties:
currentChecksum:
type: string
- directory:
- description: 'Deprecated: This field is useless.'
- type: string
- downloadProgress:
- description: 'Deprecated: This field is renamed to `Progress`.'
- type: integer
message:
type: string
name:
@@ -317,9 +311,6 @@
type: integer
state:
type: string
- url:
- description: 'Deprecated: This field is useless now. The manager of backing image files doesn''t care if a file is downloaded and how.'
- type: string
uuid:
type: string
type: object
@@ -364,7 +355,7 @@
name: longhorn-conversion-webhook
namespace: {{ include "release_namespace" . }}
path: /v1/webhook/conversion
- port: 9443
+ port: 9501
conversionReviewVersions:
- v1beta2
- v1beta1
@@ -446,9 +437,6 @@
additionalProperties:
type: string
type: object
- imageURL:
- description: 'Deprecated: This kind of info will be included in the related BackingImageDataSource.'
- type: string
sourceParameters:
additionalProperties:
type: string
@@ -465,19 +453,6 @@
properties:
checksum:
type: string
- diskDownloadProgressMap:
- additionalProperties:
- type: integer
- description: 'Deprecated: Replaced by field `Progress` in `DiskFileStatusMap`.'
- nullable: true
- type: object
- diskDownloadStateMap:
- additionalProperties:
- description: BackingImageDownloadState is replaced by BackingImageState.
- type: string
- description: 'Deprecated: Replaced by field `State` in `DiskFileStatusMap`.'
- nullable: true
- type: object
diskFileStatusMap:
additionalProperties:
properties:
@@ -637,6 +612,9 @@
backupCreatedAt:
description: The snapshot backup upload finished time.
type: string
+ compressionMethod:
+ description: Compression method
+ type: string
error:
description: The error message when taking the snapshot backup.
type: string
@@ -724,7 +702,7 @@
name: longhorn-conversion-webhook
namespace: {{ include "release_namespace" . }}
path: /v1/webhook/conversion
- port: 9443
+ port: 9501
conversionReviewVersions:
- v1beta2
- v1beta1
@@ -1032,6 +1010,9 @@
size:
description: The backup volume size.
type: string
+ storageClassName:
+ description: the storage class name of pv/pvc binding with the volume.
+ type: string
type: object
type: object
served: true
@@ -1064,7 +1045,7 @@
name: longhorn-conversion-webhook
namespace: {{ include "release_namespace" . }}
path: /v1/webhook/conversion
- port: 9443
+ port: 9501
conversionReviewVersions:
- v1beta2
- v1beta1
@@ -1333,6 +1314,11 @@
properties:
active:
type: boolean
+ backendStoreDriver:
+ enum:
+ - v1
+ - v2
+ type: string
backupVolume:
type: string
desireState:
@@ -1345,6 +1331,7 @@
enum:
- blockdev
- iscsi
+ - nvmf
- ""
type: string
logRequested:
@@ -1668,15 +1655,13 @@
spec:
description: InstanceManagerSpec defines the desired state of the Longhorn instancer manager
properties:
- engineImage:
- description: 'Deprecated: This field is useless.'
- type: string
image:
type: string
nodeID:
type: string
type:
enum:
+ - aio
- engine
- replica
type: string
@@ -1694,11 +1679,13 @@
type: integer
currentState:
type: string
- instances:
+ instanceEngines:
additionalProperties:
properties:
spec:
properties:
+ backendStoreDriver:
+ type: string
name:
type: string
type: object
@@ -1727,6 +1714,77 @@
type: object
nullable: true
type: object
+ instanceReplicas:
+ additionalProperties:
+ properties:
+ spec:
+ properties:
+ backendStoreDriver:
+ type: string
+ name:
+ type: string
+ type: object
+ status:
+ properties:
+ endpoint:
+ type: string
+ errorMsg:
+ type: string
+ listen:
+ type: string
+ portEnd:
+ format: int32
+ type: integer
+ portStart:
+ format: int32
+ type: integer
+ resourceVersion:
+ format: int64
+ type: integer
+ state:
+ type: string
+ type:
+ type: string
+ type: object
+ type: object
+ nullable: true
+ type: object
+ instances:
+ additionalProperties:
+ properties:
+ spec:
+ properties:
+ backendStoreDriver:
+ type: string
+ name:
+ type: string
+ type: object
+ status:
+ properties:
+ endpoint:
+ type: string
+ errorMsg:
+ type: string
+ listen:
+ type: string
+ portEnd:
+ format: int32
+ type: integer
+ portStart:
+ format: int32
+ type: integer
+ resourceVersion:
+ format: int64
+ type: integer
+ state:
+ type: string
+ type:
+ type: string
+ type: object
+ type: object
+ nullable: true
+ description: 'Deprecated: Replaced by InstanceEngines and InstanceReplicas'
+ type: object
ip:
type: string
ownerID:
@@ -1763,7 +1821,7 @@
name: longhorn-conversion-webhook
namespace: {{ include "release_namespace" . }}
path: /v1/webhook/conversion
- port: 9443
+ port: 9501
conversionReviewVersions:
- v1beta2
- v1beta1
@@ -1865,16 +1923,19 @@
items:
type: string
type: array
+ diskType:
+ enum:
+ - filesystem
+ - block
+ type: string
type: object
type: object
- engineManagerCPURequest:
- type: integer
evictionRequested:
type: boolean
+ instanceManagerCPURequest:
+ type: integer
name:
type: string
- replicaManagerCPURequest:
- type: integer
tags:
items:
type: string
@@ -1934,6 +1995,8 @@
type: object
nullable: true
type: array
+ diskType:
+ type: string
diskUUID:
type: string
scheduledReplica:
@@ -2153,7 +2216,7 @@
jsonPath: .spec.groups
name: Groups
type: string
- - description: Should be one of "snapshot", "snapshot-cleanup", "snapshot-delete" or "backup"
+ - description: Should be one of "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup", "backup-force-create" or "filesystem-trim"
jsonPath: .spec.task
name: Task
type: string
@@ -2215,12 +2278,15 @@
description: The retain count of the snapshot/backup.
type: integer
task:
- description: The recurring job task. Can be "snapshot", "snapshot-cleanup", "snapshot-delete" or "backup".
+ description: The recurring job task. Can be "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup", "backup-force-create" or "filesystem-trim"
enum:
- snapshot
+ - snapshot-force-create
- snapshot-cleanup
- snapshot-delete
- backup
+ - backup-force-create
+ - filesystem-trim
type: string
type: object
status:
@@ -2350,16 +2416,15 @@
properties:
active:
type: boolean
+ backendStoreDriver:
+ enum:
+ - v1
+ - v2
+ type: string
backingImage:
type: string
- baseImage:
- description: Deprecated. Rename to BackingImage
- type: string
dataDirectoryName:
type: string
- dataPath:
- description: Deprecated
- type: string
desireState:
type: string
diskID:
@@ -2626,16 +2691,20 @@
description: ShareManagerSpec defines the desired state of the Longhorn share manager
properties:
image:
+ description: Share manager image used for creating a share manager pod
type: string
type: object
status:
description: ShareManagerStatus defines the observed state of the Longhorn share manager
properties:
endpoint:
+ description: NFS endpoint that can access the mounted filesystem of the volume
type: string
ownerID:
+ description: The node ID on which the controller is responsible to reconcile this share manager resource
type: string
state:
+ description: The state of the share manager resource
type: string
type: object
type: object
@@ -2947,6 +3016,11 @@
type: object
spec:
description: SystemBackupSpec defines the desired state of the Longhorn SystemBackup
+ properties:
+ volumeBackupPolicy:
+ description: The create volume backup policy Can be "if-not-present", "always" or "disabled"
+ nullable: true
+ type: string
type: object
status:
description: SystemBackupStatus defines the observed state of the Longhorn SystemBackup
@@ -3131,7 +3205,7 @@
name: longhorn-conversion-webhook
namespace: {{ include "release_namespace" . }}
path: /v1/webhook/conversion
- port: 9443
+ port: 9501
conversionReviewVersions:
- v1beta2
- v1beta1
@@ -3238,10 +3312,18 @@
- rwo
- rwx
type: string
+ backendStoreDriver:
+ enum:
+ - v1
+ - v2
+ type: string
backingImage:
type: string
- baseImage:
- description: Deprecated. Rename to BackingImage
+ backupCompressionMethod:
+ enum:
+ - none
+ - lz4
+ - gzip
type: string
dataLocality:
enum:
@@ -3263,16 +3345,11 @@
type: string
fromBackup:
type: string
- restoreVolumeRecurringJob:
- enum:
- - ignored
- - enabled
- - disabled
- type: string
frontend:
enum:
- blockdev
- iscsi
+ - nvmf
- ""
type: string
lastAttachedBy:
@@ -3289,36 +3366,13 @@
type: array
numberOfReplicas:
type: integer
- recurringJobs:
- description: Deprecated. Replaced by a separate resource named "RecurringJob"
- items:
- description: 'Deprecated: This field is useless and has been replaced by the RecurringJob CRD'
- properties:
- concurrency:
- type: integer
- cron:
- type: string
- groups:
- items:
- type: string
- type: array
- labels:
- additionalProperties:
- type: string
- type: object
- name:
- type: string
- retain:
- type: integer
- task:
- enum:
- - snapshot
- - snapshot-cleanup
- - snapshot-delete
- - backup
- type: string
- type: object
- type: array
+ offlineReplicaRebuilding:
+ description: OfflineReplicaRebuilding is used to determine if the offline replica rebuilding feature is enabled or not
+ enum:
+ - ignored
+ - disabled
+ - enabled
+ type: string
replicaAutoBalance:
enum:
- ignored
@@ -3326,6 +3380,26 @@
- least-effort
- best-effort
type: string
+ replicaSoftAntiAffinity:
+ description: Replica soft anti affinity of the volume. Set enabled to allow replicas to be scheduled on the same node
+ enum:
+ - ignored
+ - enabled
+ - disabled
+ type: string
+ replicaZoneSoftAntiAffinity:
+ description: Replica zone soft anti affinity of the volume. Set enabled to allow replicas to be scheduled in the same zone
+ enum:
+ - ignored
+ - enabled
+ - disabled
+ type: string
+ restoreVolumeRecurringJob:
+ enum:
+ - ignored
+ - enabled
+ - disabled
+ type: string
revisionCounterDisabled:
type: boolean
size:
@@ -3388,6 +3462,9 @@
type: array
currentImage:
type: string
+ currentMigrationNodeID:
+ description: the node that this volume is currently migrating to
+ type: string
currentNodeID:
type: string
expansionRequired:
@@ -3433,9 +3510,12 @@
type: string
lastDegradedAt:
type: string
+ offlineReplicaRebuildingRequired:
+ type: boolean
ownerID:
type: string
pendingNodeID:
+ description: Deprecated.
type: string
remountRequestedAt:
type: string
@@ -3463,3 +3543,130 @@
plural: ""
conditions: []
storedVersions: []
+---
+apiVersion: apiextensions.k8s.io/v1
+kind: CustomResourceDefinition
+metadata:
+ annotations:
+ controller-gen.kubebuilder.io/version: v0.7.0
+ creationTimestamp: null
+ labels: {{- include "longhorn.labels" . | nindent 4 }}
+ longhorn-manager: ""
+ name: volumeattachments.longhorn.io
+spec:
+ group: longhorn.io
+ names:
+ kind: VolumeAttachment
+ listKind: VolumeAttachmentList
+ plural: volumeattachments
+ shortNames:
+ - lhva
+ singular: volumeattachment
+ scope: Namespaced
+ versions:
+ - additionalPrinterColumns:
+ - jsonPath: .metadata.creationTimestamp
+ name: Age
+ type: date
+ name: v1beta2
+ schema:
+ openAPIV3Schema:
+ description: VolumeAttachment stores attachment information of a Longhorn volume
+ 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'
+ 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'
+ type: string
+ metadata:
+ type: object
+ spec:
+ description: VolumeAttachmentSpec defines the desired state of Longhorn VolumeAttachment
+ properties:
+ attachmentTickets:
+ additionalProperties:
+ properties:
+ generation:
+ description: A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.
+ format: int64
+ type: integer
+ id:
+ description: The unique ID of this attachment. Used to differentiate different attachments of the same volume.
+ type: string
+ nodeID:
+ description: The node that this attachment is requesting
+ type: string
+ parameters:
+ additionalProperties:
+ type: string
+ description: Optional additional parameter for this attachment
+ type: object
+ type:
+ type: string
+ type: object
+ type: object
+ volume:
+ description: The name of Longhorn volume of this VolumeAttachment
+ type: string
+ required:
+ - volume
+ type: object
+ status:
+ description: VolumeAttachmentStatus defines the observed state of Longhorn VolumeAttachment
+ properties:
+ attachmentTicketStatuses:
+ additionalProperties:
+ properties:
+ conditions:
+ description: Record any error when trying to fulfill this attachment
+ items:
+ properties:
+ lastProbeTime:
+ description: Last time we probed the condition.
+ type: string
+ lastTransitionTime:
+ description: Last time the condition transitioned from one status to another.
+ type: string
+ message:
+ description: Human-readable message indicating details about last transition.
+ type: string
+ reason:
+ description: Unique, one-word, CamelCase reason for the condition's last transition.
+ type: string
+ status:
+ description: Status is the status of the condition. Can be True, False, Unknown.
+ type: string
+ type:
+ description: Type is the type of the condition.
+ type: string
+ type: object
+ nullable: true
+ type: array
+ generation:
+ description: A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.
+ format: int64
+ type: integer
+ id:
+ description: The unique ID of this attachment. Used to differentiate different attachments of the same volume.
+ type: string
+ satisfied:
+ description: Indicate whether this attachment ticket has been satisfied
+ type: boolean
+ required:
+ - conditions
+ - satisfied
+ type: object
+ type: object
+ type: object
+ type: object
+ served: true
+ storage: true
+ subresources:
+ status: {}
+status:
+ acceptedNames:
+ kind: ""
+ plural: ""
+ conditions: []
+ storedVersions: []