diff --git a/chart/questions.yaml b/chart/questions.yaml index 34fa0bb..8a9d19d 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -642,6 +642,12 @@ Set the value to **0** to disable backup restore." group: "Longhorn Default Settings" type: boolean default: false +- variable: defaultSettings.replicaFileSyncHttpClientTimeout + label: Timeout of HTTP Client to Replica File Sync Server + description: "In seconds. The setting specifies the HTTP client timeout to the file sync server." + group: "Longhorn Default Settings" + type: int + default: "30" - variable: persistence.defaultClass default: "true" description: "Set as default StorageClass for Longhorn" diff --git a/chart/templates/default-setting.yaml b/chart/templates/default-setting.yaml index 9475c72..49870a4 100644 --- a/chart/templates/default-setting.yaml +++ b/chart/templates/default-setting.yaml @@ -75,4 +75,5 @@ data: {{ if not (kindIs "invalid" .Values.defaultSettings.snapshotDataIntegrityImmediateCheckAfterSnapshotCreation) }}snapshot-data-integrity-immediate-check-after-snapshot-creation: {{ .Values.defaultSettings.snapshotDataIntegrityImmediateCheckAfterSnapshotCreation }}{{ end }} {{ if not (kindIs "invalid" .Values.defaultSettings.snapshotDataIntegrityCronjob) }}snapshot-data-integrity-cronjob: {{ .Values.defaultSettings.snapshotDataIntegrityCronjob }}{{ end }} {{ if not (kindIs "invalid" .Values.defaultSettings.removeSnapshotsDuringFilesystemTrim) }}remove-snapshots-during-filesystem-trim: {{ .Values.defaultSettings.removeSnapshotsDuringFilesystemTrim }}{{ end }} - {{ if not (kindIs "invalid" .Values.defaultSettings.fastReplicaRebuildEnabled) }}fast-replica-rebuild-enabled: {{ .Values.defaultSettings.fastReplicaRebuildEnabled }}{{ end }} \ No newline at end of file + {{ if not (kindIs "invalid" .Values.defaultSettings.fastReplicaRebuildEnabled) }}fast-replica-rebuild-enabled: {{ .Values.defaultSettings.fastReplicaRebuildEnabled }}{{ end }} + {{ if not (kindIs "invalid" .Values.defaultSettings.replicaFileSyncHttpClientTimeout) }}replica-file-sync-http-client-timeout: {{ .Values.defaultSettings.replicaFileSyncHttpClientTimeout }}{{ end }} \ No newline at end of file diff --git a/chart/values.yaml b/chart/values.yaml index 0f2da75..51b3933 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -157,6 +157,7 @@ defaultSettings: snapshotDataIntegrityCronjob: ~ removeSnapshotsDuringFilesystemTrim: ~ fastReplicaRebuildEnabled: ~ + replicaFileSyncHttpClientTimeout: ~ privateRegistry: createSecret: ~ registryUrl: ~