Skip to content

Commit

Permalink
update[storage-charts-repackage]: add storage-charts-repackage values…
Browse files Browse the repository at this point in the history
….schema.json enableHA update

Signed-off-by: jie.li <jie.li@daocloud.io>
  • Loading branch information
angel0507 committed Jan 10, 2023
1 parent 7b2feec commit 47e3f1c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
9 changes: 4 additions & 5 deletions charts/hwameistor/hwameistor/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,18 @@
"enableHA": {
"title": "EnableHA",
"type": "boolean",
"default": true,
"description": "If enabled, you need install drbd kernel module on each node first",
"ui:hidden": "{{rootFormData.config.EnableDRBD === false}}"
},
"Replicas": {
"title": "Replicas 1",
"Replicas 1": {
"title": "Replicas",
"type": "integer",
"default": 1,
"description": "Replicas can be converted from 1 to 2 when HA is enabled",
"ui:hidden": "{{rootFormData.config.EnableDRBD === true}}"
},
"Replicas": {
"title": "Replicas 2",
"Replicas 2": {
"title": "Replicas",
"type": "integer",
"default": 2,
"description": "Replicas can be converted from 1 to 2 when HA is enabled",
Expand Down
30 changes: 15 additions & 15 deletions charts/hwameistor/hwameistor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ global:
# StorageClass Settings
storageClass:
# If enabled, a hwameistor storageclass will be created in your system
- enabled: true
# If enabled, hwameistor storageclass will be a default storageclass in system
# Attention: ensure your system doesn't have any default storageclass before
# more info: https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/
default: false
# If allowed, volume can be expanded by modify pvc related field
allowVolumeExpansion: true
convertible: false
reclaimPolicy: Delete
# If enabled, you need install drbd kernel module on each node first
enableHA: false
# Represent which kind disk will be used to provision volume
diskType: HDD
fsType: xfs
enabled: true
# If enabled, hwameistor storageclass will be a default storageclass in system
# Attention: ensure your system doesn't have any default storageclass before
# more info: https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/
default: false
# If allowed, volume can be expanded by modify pvc related field
allowVolumeExpansion: true
convertible: false
reclaimPolicy: Delete
# If enabled, you need install drbd kernel module on each node first
enableHA: false
# Represent which kind disk will be used to provision volume
diskType: HDD
fsType: xfs

# storageNodes means the nodes will be used for creating local volumes
storageNodes: []
Expand Down Expand Up @@ -123,4 +123,4 @@ localStorageCSIController:
resizer:
imageRepository: sig-storage/csi-resizer
tag: v1.0.1
resources: {}
resources: {}

0 comments on commit 47e3f1c

Please sign in to comment.