mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-03 10:19:16 -03:00
Update _replicationDestination.tpl
This commit is contained in:
@@ -38,8 +38,12 @@ spec:
|
||||
{{ $volsyncData.type }}:
|
||||
repository: {{ $volsyncData.repository }}
|
||||
copyMethod: {{ $volsyncData.copyMethod | default "Snapshot"}}
|
||||
{{- with $volsyncData.dest.capacity }}
|
||||
{{- if $volsyncData.dest.capacity }}
|
||||
capacity: {{ $volsyncData.dest.capacity }}
|
||||
{{- else if $objectData.size }}
|
||||
capacity: {{ $objectData.size }}
|
||||
{{- else -}}
|
||||
capacity: {{ $rootCtx.Values.fallbackDefaults.pvcSize }}
|
||||
{{- end }}
|
||||
|
||||
{{- include "tc.v1.common.lib.volsync.storage" (dict "rootCtx" $rootCtx "objectData" $objectData "volsyncData" $volsyncData "target" "dest") | trim | nindent 4 }}
|
||||
|
||||
Reference in New Issue
Block a user