fix(common): correct wrong reference for expanding object names in tpl format

This commit is contained in:
Kjeld Schouten-Lebbing
2023-03-05 22:03:38 +01:00
parent fc349d0975
commit be16b910ef
3 changed files with 3 additions and 3 deletions

View File

@@ -15,4 +15,4 @@ maintainers:
name: common
sources: null
type: library
version: 12.2.14
version: 12.2.15

View File

@@ -38,7 +38,7 @@ objectData: The object data to be used to render the container.
{{- $name = tpl $obj.name $rootCtx -}}
{{- $expandName := $obj.expandName | default true -}}
{{- $expandName := $obj.expandObjectName | default true -}}
{{- if kindIs "string" $expandName -}}
{{- $expandName = tpl $expandName $rootCtx -}}

View File

@@ -26,7 +26,7 @@ objectData: The object data to be used to render the container.
{{- $objectName := tpl .name $rootCtx -}}
{{- $expandName := .expandName | default true -}}
{{- $expandName := .expandObjectName | default true -}}
{{- if kindIs "string" $expandName -}}
{{- $expandName = tpl $expandName $rootCtx -}}