storage-network: update chart

Longhorn-2285

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
This commit is contained in:
Chin-Ya Huang 2022-05-16 22:59:25 +08:00 committed by David Ko
parent 39bc516674
commit f94d4cc9de
4 changed files with 19 additions and 0 deletions

View File

@ -514,6 +514,17 @@ WARNING:
group: "Longhorn Default Settings"
type: boolean
default: false
- variable: defaultSettings.storageNetwork
label: Storage Network
description: "Longhorn uses the storage network for in-cluster data traffic. Leave this blank to use the Kubernetes cluster network.
To segregate the storage network, input the pre-existing NetworkAttachmentDefinition in \"<namespace>/<name>\" format.
WARNING:
- The cluster must have pre-existing Multus installed, and NetworkAttachmentDefinition IPs are reachable between nodes.
- DO NOT CHANGE THIS SETTING WITH ATTACHED VOLUMES. Longhorn will try to block this setting update when there are attached volumes.
- When applying the setting, Longhorn will restart all manager, instance-manager, and backing-image-manager pods."
group: "Longhorn Default Settings"
type: string
default:
- variable: persistence.defaultClass
default: "true"
description: "Set as default StorageClass for Longhorn"

View File

@ -317,6 +317,8 @@ spec:
type: string
ownerID:
type: string
storageIP:
type: string
type: object
type: object
served: true
@ -1510,6 +1512,8 @@ spec:
type: string
started:
type: boolean
storageIP:
type: string
type: object
type: object
served: true
@ -2345,6 +2349,8 @@ spec:
type: boolean
started:
type: boolean
storageIP:
type: string
type: object
type: object
served: true

View File

@ -44,3 +44,4 @@ data:
guaranteed-replica-manager-cpu: {{ .Values.defaultSettings.guaranteedReplicaManagerCPU }}
kubernetes-cluster-autoscaler-enabled: {{ .Values.defaultSettings.kubernetesClusterAutoscalerEnabled }}
orphan-auto-deletion: {{ .Values.defaultSettings.orphanAutoDeletion }}
storage-network: {{ .Values.defaultSettings.storageNetwork }}

View File

@ -116,6 +116,7 @@ defaultSettings:
guaranteedReplicaManagerCPU: ~
kubernetesClusterAutoscalerEnabled: ~
orphanAutoDeletion: ~
storageNetwork: ~
privateRegistry:
createSecret: ~
registryUrl: ~