Skip to content

Commit

Permalink
chart: add data engine in printer columns
Browse files Browse the repository at this point in the history
Longhorn 7095

Signed-off-by: Derek Su <derek.su@suse.com>
  • Loading branch information
derekbit committed Dec 28, 2023
1 parent 7c0d898 commit 35c1fb9
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 8 deletions.
20 changes: 16 additions & 4 deletions chart/templates/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1277,6 +1277,10 @@ spec:
subresources:
status: {}
- additionalPrinterColumns:
- description: The data engine of the engine
jsonPath: .spec.dataEngine
name: Data Engine
type: string
- description: The current state of the engine
jsonPath: .status.currentState
name: State
Expand Down Expand Up @@ -1630,6 +1634,10 @@ spec:
subresources:
status: {}
- additionalPrinterColumns:
- description: The data engine of the instance manager
jsonPath: .spec.dataEngine
name: Data Engine
type: string
- description: The state of the instance manager
jsonPath: .status.currentState
name: State
Expand All @@ -1638,10 +1646,6 @@ spec:
jsonPath: .spec.type
name: Type
type: string
- description: The data engine of the instance manager
jsonPath: .spec.dataEngine
name: Data Engine
type: string
- description: The node that the instance manager is running on
jsonPath: .spec.nodeID
name: Node
Expand Down Expand Up @@ -2414,6 +2418,10 @@ spec:
jsonPath: .status.currentState
name: State
type: string
- description: The data engine of the replica
jsonPath: .spec.dataEngine
name: Data Engine
type: string
- description: The node that the replica is on
jsonPath: .spec.nodeID
name: Node
Expand Down Expand Up @@ -3310,6 +3318,10 @@ spec:
subresources:
status: {}
- additionalPrinterColumns:
- description: The data engine of the volume
jsonPath: .spec.dataEngine
name: Data Engine
type: string
- description: The state of the volume
jsonPath: .status.state
name: State
Expand Down
20 changes: 16 additions & 4 deletions deploy/longhorn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1392,6 +1392,10 @@ spec:
subresources:
status: {}
- additionalPrinterColumns:
- description: The data engine of the engine
jsonPath: .spec.dataEngine
name: Data Engine
type: string
- description: The current state of the engine
jsonPath: .status.currentState
name: State
Expand Down Expand Up @@ -1749,6 +1753,10 @@ spec:
subresources:
status: {}
- additionalPrinterColumns:
- description: The data engine of the instance manager
jsonPath: .spec.dataEngine
name: Data Engine
type: string
- description: The state of the instance manager
jsonPath: .status.currentState
name: State
Expand All @@ -1757,10 +1765,6 @@ spec:
jsonPath: .spec.type
name: Type
type: string
- description: The data engine of the instance manager
jsonPath: .spec.dataEngine
name: Data Engine
type: string
- description: The node that the instance manager is running on
jsonPath: .spec.nodeID
name: Node
Expand Down Expand Up @@ -2546,6 +2550,10 @@ spec:
jsonPath: .status.currentState
name: State
type: string
- description: The data engine of the replica
jsonPath: .spec.dataEngine
name: Data Engine
type: string
- description: The node that the replica is on
jsonPath: .spec.nodeID
name: Node
Expand Down Expand Up @@ -3470,6 +3478,10 @@ spec:
subresources:
status: {}
- additionalPrinterColumns:
- description: The data engine of the volume
jsonPath: .spec.dataEngine
name: Data Engine
type: string
- description: The state of the volume
jsonPath: .status.state
name: State
Expand Down

0 comments on commit 35c1fb9

Please sign in to comment.