mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-03 16:37:04 +02:00
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:
parent
f729651dbe
commit
ed015ee74b
12 changed files with 245 additions and 46 deletions
|
@ -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 -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue