You've already forked DataMate
feature: 更新算子名称;增加创建任务、模板校验 (#57)
* feature: 更新算子名称;增加创建任务、模板校验 * feature: 镜像构建增加缓存
This commit is contained in:
@@ -39,7 +39,7 @@ spec:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
image: "{{ include "backend.image" . }}"
|
||||
imagePullPolicy: {{ default .Values.global.image.pullPolicy .Values.image.pullPolicy }}
|
||||
imagePullPolicy: {{ default .Values.image.pullPolicy .Values.global.image.pullPolicy }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: {{ .Values.service.port }}
|
||||
|
||||
@@ -67,9 +67,5 @@ Name of image
|
||||
{{- define "database.image" -}}
|
||||
{{- $name := default .Values.image.repository .Values.global.image.database.name }}
|
||||
{{- $tag := default .Values.image.tag .Values.global.image.database.tag }}
|
||||
{{- if .Values.global.image.repository }}
|
||||
{{- .Values.global.image.repository | trimSuffix "/" }}/{{ $name }}:{{ $tag }}
|
||||
{{- else }}
|
||||
{{- $name }}:{{ $tag }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -61,7 +61,7 @@ spec:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
image: "{{ include "database.image" . }}"
|
||||
imagePullPolicy: {{ default .Values.global.image.pullPolicy .Values.image.pullPolicy }}
|
||||
imagePullPolicy: {{ default .Values.image.pullPolicy .Values.global.image.pullPolicy }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: {{ .Values.service.port }}
|
||||
|
||||
@@ -40,7 +40,7 @@ spec:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
image: "{{ include "frontend.image" . }}"
|
||||
imagePullPolicy: {{ default .Values.global.image.pullPolicy .Values.image.pullPolicy }}
|
||||
imagePullPolicy: {{ default .Values.image.pullPolicy .Values.global.image.pullPolicy }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: {{ .Values.service.port }}
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
# Declare variables to be passed into your templates.
|
||||
|
||||
global:
|
||||
deerFlow:
|
||||
enable: false
|
||||
image:
|
||||
repository: ""
|
||||
pullPolicy: "IfNotPresent"
|
||||
|
||||
Reference in New Issue
Block a user