更新模板中函数备注信息

This commit is contained in:
2025-03-13 15:23:42 +08:00
parent 136d42a31e
commit 6754237844
13 changed files with 103 additions and 37 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
{{/*
secret
Secret
{{ include "common.utils.secret.getvalue" (dict "secret" "secret-name" "field" "secret-value-field" "context" $) }}
*/}}
@@ -9,7 +9,7 @@ export {{ $varname }}=$(kubectl get secret --namespace {{ include "common.names.
{{- end -}}
{{/*
线ENV变量
线 ENV
{{ include "common.utils.fieldToEnvVar" dict "field" "my-password" }}
*/}}
@@ -61,7 +61,7 @@ export {{ $varname }}=$(kubectl get secret --namespace {{ include "common.names.
{{- end -}}
{{/*
`path` **ConfigMapSecret便*Pod*
`path` **ConfigMapSecret**便*Pod*
{{ include "common.utils.checksumTemplate" (dict "path" "/configmap.yaml" "context" $) }}
*/}}