Skip to content

Commit

Permalink
chart: seperate v1 and v2 instanceManagers
Browse files Browse the repository at this point in the history
Longhorn 7357

Signed-off-by: Derek Su <derek.su@suse.com>
  • Loading branch information
derekbit committed Dec 17, 2023
1 parent a91f796 commit 912ac32
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 14 deletions.
23 changes: 16 additions & 7 deletions chart/templates/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1635,6 +1635,10 @@ spec:
jsonPath: .spec.type
name: Type
type: string
- description: The data engine of the instance manager
jsonPath: .spec.backendStoreDriver
name: Data Engine
type: string
- description: The node that the instance manager is running on
jsonPath: .spec.nodeID
name: Node
Expand All @@ -1658,6 +1662,8 @@ spec:
spec:
description: InstanceManagerSpec defines the desired state of the Longhorn instancer manager
properties:
backendStoreDriver:
type: string
image:
type: string
nodeID:
Expand Down Expand Up @@ -1909,12 +1915,18 @@ spec:
description: NodeSpec defines the desired state of the Longhorn node
properties:
allowScheduling:
description: Allow scheduling replicas on the node.
type: boolean
disks:
additionalProperties:
properties:
allowScheduling:
type: boolean
diskType:
enum:
- filesystem
- block
type: string
evictionRequested:
type: boolean
path:
Expand All @@ -1926,11 +1938,6 @@ spec:
items:
type: string
type: array
diskType:
enum:
- filesystem
- block
type: string
type: object
type: object
evictionRequested:
Expand Down Expand Up @@ -2020,19 +2027,21 @@ spec:
format: int64
type: integer
type: object
description: The status of the disks on the node.
nullable: true
type: object
region:
description: The Region of the node.
type: string
snapshotCheckStatus:
description: The status of the snapshot integrity check.
properties:
lastPeriodicCheckedAt:
format: date-time
type: string
snapshotCheckState:
type: string
type: object
zone:
description: The Zone of the node.
type: string
type: object
type: object
Expand Down
23 changes: 16 additions & 7 deletions deploy/longhorn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1753,6 +1753,10 @@ spec:
jsonPath: .spec.type
name: Type
type: string
- description: The data engine of the instance manager
jsonPath: .spec.backendStoreDriver
name: Data Engine
type: string
- description: The node that the instance manager is running on
jsonPath: .spec.nodeID
name: Node
Expand All @@ -1776,6 +1780,8 @@ spec:
spec:
description: InstanceManagerSpec defines the desired state of the Longhorn instancer manager
properties:
backendStoreDriver:
type: string
image:
type: string
nodeID:
Expand Down Expand Up @@ -2031,12 +2037,18 @@ spec:
description: NodeSpec defines the desired state of the Longhorn node
properties:
allowScheduling:
description: Allow scheduling replicas on the node.
type: boolean
disks:
additionalProperties:
properties:
allowScheduling:
type: boolean
diskType:
enum:
- filesystem
- block
type: string
evictionRequested:
type: boolean
path:
Expand All @@ -2048,11 +2060,6 @@ spec:
items:
type: string
type: array
diskType:
enum:
- filesystem
- block
type: string
type: object
type: object
evictionRequested:
Expand Down Expand Up @@ -2142,19 +2149,21 @@ spec:
format: int64
type: integer
type: object
description: The status of the disks on the node.
nullable: true
type: object
region:
description: The Region of the node.
type: string
snapshotCheckStatus:
description: The status of the snapshot integrity check.
properties:
lastPeriodicCheckedAt:
format: date-time
type: string
snapshotCheckState:
type: string
type: object
zone:
description: The Zone of the node.
type: string
type: object
type: object
Expand Down

0 comments on commit 912ac32

Please sign in to comment.