mirror of
https://github.com/jumpserver/helm-charts.git
synced 2025-08-31 14:38:37 +00:00
fix: 修正初始化镜像
This commit is contained in:
@@ -3,9 +3,10 @@
|
||||
{{- $containerName := "jms-init-db" }}
|
||||
{{- $registryName := $.Values.global.imageRegistry | default .image.registry }}
|
||||
{{- $imageOwner := $.Values.global.imageOwner | default "jumpserver" }}
|
||||
{{- $imageName := $.Values.xpack.enabled | ternary "core-ee" "core-ce" }}
|
||||
{{- $imageName := "core" }}
|
||||
{{- $imageTag := $.Chart.AppVersion }}
|
||||
{{- $imageWithTag := printf "%s/%s/%s:%s" $registryName $imageOwner $imageName $imageTag | quote }}
|
||||
{{- $imageSuffix := $.Values.xpack.enabled | ternary "ee" "ce" }}
|
||||
{{- $imageWithTag := printf "%s/%s/%s:v%s-%s" $registryName $imageOwner $imageName $imageTag $imageSuffix | quote }}
|
||||
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
|
Reference in New Issue
Block a user