Skip to content

Commit

Permalink
templates: update node-disk-manager related templates
Browse files Browse the repository at this point in the history
Signed-off-by: Vicente Cheng <[email protected]>
  • Loading branch information
Vicente-Cheng committed Jul 4, 2023
1 parent 58225f7 commit f21ad89
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
- jsonPath: .status.deviceStatus.details.deviceType
name: Type
type: string
- jsonPath: .spec.devPath
- jsonPath: .status.deviceStatus.devPath
name: DevPath
type: string
- jsonPath: .status.deviceStatus.fileSystem.mountPoint
Expand All @@ -32,8 +32,8 @@ spec:
- jsonPath: .spec.nodeName
name: NodeName
type: string
- jsonPath: .status.state
name: Status
- jsonPath: .status.provisionPhase
name: ProvisionPhase
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
Expand Down Expand Up @@ -66,13 +66,18 @@ spec:
overwrite the existing one
type: boolean
mountPoint:
description: 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
as a disk for the node to store data.
type: boolean
repaired:
description: a bool indicating whether the filesystem is manually
repaired of not
type: boolean
required:
- mountPoint
type: object
Expand Down Expand Up @@ -223,6 +228,10 @@ spec:
when user operate device formatting through the CRD controller
format: date-time
type: string
corrupted:
description: indicating whether the filesystem is corrupted
or not
type: boolean
isReadOnly:
description: a bool indicating the partition is read-only
type: boolean
Expand Down
3 changes: 3 additions & 0 deletions charts/harvester-node-disk-manager/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
command:
- node-disk-manager
{{- if .Values.debug }}
- "--debug"
{{- end }}
env:
{{- with .Values.vendorFilter }}
- name: NDM_VENDOR_FILTER
Expand Down
3 changes: 3 additions & 0 deletions charts/harvester-node-disk-manager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,6 @@ maxConcurrentOps:
# Perform auto GPT partition generating if a disk can not be globally identified
# Default to false.
autoGPTGenerate:

# Enable debug logging, default to false
debug: false

0 comments on commit f21ad89

Please sign in to comment.