更新模板中函数备注信息
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
|
||||
{{/*
|
||||
返回合适点镜像名称。如果镜像 Tag 或 digest 未定义,使用图表的 appVersion 作为版本标签。
|
||||
返回正确的镜像名称。
|
||||
如果镜像 Tag 或 Digest 未定义,使用图表的 appVersion 作为版本标签。
|
||||
调用:
|
||||
{{ include "common.images.image" ( dict "imageRoot" .Values.path.to.the.image "global" .Values.global "chart" .Chart ) }}
|
||||
*/}}
|
||||
@@ -27,7 +28,7 @@
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
返回合适到镜像库登陆信息模板。
|
||||
返回正确的镜像库登陆信息。
|
||||
调用:
|
||||
{{ include "common.images.renderPullSecrets" ( dict "images" (list .Values.path.to.the.image1, .Values.path.to.the.image2) "context" $) }}
|
||||
*/}}
|
||||
@@ -62,7 +63,7 @@ imagePullSecrets:
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
返回合适点镜像版本信息(忽略 revision/prerelease 信息)。
|
||||
返回正确的镜像版本信息(忽略 revision/prerelease 信息;若无效,使用图表的 appVersion 作为版本标签)。
|
||||
调用:
|
||||
{{ include "common.images.version" ( dict "imageRoot" .Values.path.to.the.image "chart" .Chart ) }}
|
||||
*/}}
|
||||
|
||||
Reference in New Issue
Block a user