bugfix: 支持使用runtime单实例 (#118)

* bugfix: 支持使用runtime单实例
This commit is contained in:
hhhhsc701
2025-12-01 19:05:50 +08:00
committed by GitHub
parent bb3345268e
commit f730bd5b0c
15 changed files with 435 additions and 33 deletions

View File

@@ -72,7 +72,11 @@ spec:
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.global.imageRegistry }}{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- if .Values.global.imageRegistry }}
image: "{{ .Values.global.imageRegistry | trimSuffix "/" }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- else }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- end }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.s3gateway.enabled }}
command: