Retrofit of ability to expose migratable paraemter in the longhorn helm chart

Signed-off-by: Gaurav Mehta <gaurav@rancher.com>
This commit is contained in:
Gaurav Mehta 2022-04-21 16:11:21 +10:00 committed by David Ko
parent a13c25a8d2
commit 2783ef7bd5
2 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,9 @@ data:
{{- if .Values.persistence.defaultFsType }}
fsType: "{{.Values.persistence.defaultFsType}}"
{{- end }}
{{- if .Values.persistence.migratable }}
migratable: "{{.Values.persistence.migratable}}"
{{- end }}
{{- if .Values.persistence.backingImage.enable }}
backingImage: {{ .Values.persistence.backingImage.name }}
backingImageDataSourceType: {{ .Values.persistence.backingImage.dataSourceType }}

View File

@ -56,6 +56,7 @@ persistence:
defaultFsType: ext4
defaultClassReplicaCount: 3
reclaimPolicy: Delete
migratable: false
recurringJobSelector:
enable: false
jobList: []