mirror of
https://github.com/jumpserver/helm-charts.git
synced 2025-08-21 08:23:49 +00:00
perf: 增加全局 tag
This commit is contained in:
parent
dab94d4597
commit
40e8925f9c
@ -10,6 +10,9 @@ Return the proper image name
|
|||||||
{{- if .global.imageRegistry }}
|
{{- if .global.imageRegistry }}
|
||||||
{{- $registryName = .global.imageRegistry -}}
|
{{- $registryName = .global.imageRegistry -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
{{- if .global.imageTag }}
|
||||||
|
{{- $tag = .global.imageTag -}}
|
||||||
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if $registryName }}
|
{{- if $registryName }}
|
||||||
{{- printf "%s/%s:%s" $registryName $repositoryName $tag -}}
|
{{- printf "%s/%s:%s" $registryName $repositoryName $tag -}}
|
||||||
|
@ -12,6 +12,7 @@ fullnameOverride: ""
|
|||||||
##
|
##
|
||||||
global:
|
global:
|
||||||
imageRegistry: "docker.io"
|
imageRegistry: "docker.io"
|
||||||
|
imageTag: v2.15.4
|
||||||
## E.g.
|
## E.g.
|
||||||
# imagePullSecrets:
|
# imagePullSecrets:
|
||||||
# - myRegistryKeySecretName
|
# - myRegistryKeySecretName
|
||||||
|
Loading…
Reference in New Issue
Block a user