mirror of
https://github.com/jumpserver/helm-charts.git
synced 2025-08-20 07:53:48 +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 }}
|
||||
{{- $registryName = .global.imageRegistry -}}
|
||||
{{- end -}}
|
||||
{{- if .global.imageTag }}
|
||||
{{- $tag = .global.imageTag -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- if $registryName }}
|
||||
{{- printf "%s/%s:%s" $registryName $repositoryName $tag -}}
|
||||
@ -86,4 +89,4 @@ imagePullSecrets:
|
||||
- name: {{ . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
@ -12,6 +12,7 @@ fullnameOverride: ""
|
||||
##
|
||||
global:
|
||||
imageRegistry: "docker.io"
|
||||
imageTag: v2.15.4
|
||||
## E.g.
|
||||
# imagePullSecrets:
|
||||
# - myRegistryKeySecretName
|
||||
|
Loading…
Reference in New Issue
Block a user