fix mapping

This commit is contained in:
Stavros kois
2022-12-27 14:37:23 +02:00
parent 95e264930f
commit 52ab359e48

View File

@@ -2,7 +2,7 @@
{{- $index := .index -}}
{{- $vol := .volume -}}
{{- $root := .root -}}
{{- $pvcName := include "ix.v1.common.names.volume.pvc" (dict "index" $index "root" $root "pvcVolValues" $vol) -}}
{{- $pvcName := include "ix.v1.common.names.volume.pvc" (dict "index" $index "root" $root "pvcVolValues" $vol) }}
- name: {{ $index }}
persistentVolumeClaim:
claimName: {{ tpl $pvcName $root }}