feat(common): Release v2.0.3 (#203)

Co-authored-by: JJGadgets <git@jjgadgets.tech>
Co-authored-by: bjw-s-bot[bot] <87358111+bjw-s-bot[bot]@users.noreply.github.com>
This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2023-10-07 17:17:56 +02:00 committed by Bernd Schorgers
parent f729651dbe
commit ed015ee74b
No known key found for this signature in database
GPG key ID: BC5E2BD907F9A8EC
12 changed files with 245 additions and 46 deletions

View file

@ -18,10 +18,17 @@ Returns the value for volumes
{{- end -}}
{{- if $persistenceEnabled -}}
{{- $hasglobalMounts := not (empty $persistenceValues.globalMounts) -}}
{{- $globalMounts := dig "globalMounts" list $persistenceValues -}}
{{- $hasAdvancedMounts := not (empty $persistenceValues.advancedMounts) -}}
{{- $advancedMounts := dig "advancedMounts" $controllerObject.identifier list $persistenceValues -}}
{{- if $advancedMounts -}}
{{- $_ := set $persistenceItemsToProcess $identifier $persistenceValues -}}
{{- else -}}
{{ if or
($hasglobalMounts)
(and ($hasAdvancedMounts) (not (empty $advancedMounts)))
(and (not $hasglobalMounts) (not $hasAdvancedMounts))
-}}
{{- $_ := set $persistenceItemsToProcess $identifier $persistenceValues -}}
{{- end -}}
{{- end -}}