mirror of
https://github.com/truenas/charts.git
synced 2026-06-17 15:38:49 +08:00
append short name, for future use
This commit is contained in:
@@ -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) -}}
|
||||
|
||||
|
||||
@@ -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) -}}
|
||||
|
||||
@@ -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) -}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user