append short name, for future use

This commit is contained in:
Stavros kois
2023-02-02 19:51:44 +02:00
parent 0efb05a1b0
commit 4a1d2a531b
3 changed files with 5 additions and 0 deletions

View File

@@ -19,6 +19,8 @@
{{/* Set the name of the configmap */}}
{{- $_ := set $objectData "name" $objectName -}}
{{- $_ := set $objectData "shortName" $name -}}
{{/* Call class to create the object */}}
{{- include "ix.v1.common.class.configmap" (dict "rootCtx" $ "objectData" $objectData) -}}

View File

@@ -27,6 +27,7 @@
{{/* Set the name of the image pull secret */}}
{{- $_ := set $objectData "name" $objectName -}}
{{- $_ := set $objectData "shortName" $name -}}
{{/* Call class to create the object */}}
{{- include "ix.v1.common.class.secret" (dict "rootCtx" $ "objectData" $objectData) -}}

View File

@@ -19,6 +19,8 @@
{{/* Set the name of the secret */}}
{{- $_ := set $objectData "name" $objectName -}}
{{- $_ := set $objectData "shortName" $name -}}
{{/* Call class to create the object */}}
{{- include "ix.v1.common.class.secret" (dict "rootCtx" $ "objectData" $objectData) -}}