diff --git a/library/common/1.0.0/templates/spawner/_configmap.tpl b/library/common/1.0.0/templates/spawner/_configmap.tpl index 3ee521b798..96635f10f6 100644 --- a/library/common/1.0.0/templates/spawner/_configmap.tpl +++ b/library/common/1.0.0/templates/spawner/_configmap.tpl @@ -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) -}} diff --git a/library/common/1.0.0/templates/spawner/_imagePullSecret.tpl b/library/common/1.0.0/templates/spawner/_imagePullSecret.tpl index 95c43f0865..e9d3c78558 100644 --- a/library/common/1.0.0/templates/spawner/_imagePullSecret.tpl +++ b/library/common/1.0.0/templates/spawner/_imagePullSecret.tpl @@ -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) -}} diff --git a/library/common/1.0.0/templates/spawner/_secret.tpl b/library/common/1.0.0/templates/spawner/_secret.tpl index b1cfdfc0c6..9e01f46f4a 100644 --- a/library/common/1.0.0/templates/spawner/_secret.tpl +++ b/library/common/1.0.0/templates/spawner/_secret.tpl @@ -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) -}}