File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed
deployment/helm/label-studio Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 2121 spec :
2222 containers :
2323 - name : label-studio
24+ {{- if .Values.global.imageRegistry }}
25+ image : " {{ .Values.global.imageRegistry | trimSuffix " /" }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}"
26+ {{- else }}
2427 image : " {{ .Values.image.repository }}:{{ .Values.image.tag }}"
28+ {{- end }}
2529 imagePullPolicy : {{ .Values.image.pullPolicy }}
2630 args : ["label-studio-uwsgi"]
2731 env :
Original file line number Diff line number Diff line change 3131 spec :
3232 containers :
3333 - name : postgres
34+ {{- if .Values.global.imageRegistry }}
35+ image : " {{ .Values.global.imageRegistry | trimSuffix " /" }}/{{ .Values.postgres.image.repository }}:{{ .Values.postgres.image.tag }}"
36+ {{- else }}
3437 image : " {{ .Values.postgres.image.repository }}:{{ .Values.postgres.image.tag }}"
38+ {{- end }}
3539 imagePullPolicy : {{ .Values.postgres.image.pullPolicy }}
3640 env :
3741 - name : POSTGRES_HOST_AUTH_METHOD
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ fullnameOverride: label-studio
44
55replicaCount : 1
66
7+ global :
8+ imageRegistry : " "
9+
710image :
811 repository : heartexlabs/label-studio
912 tag : " latest"
You can’t perform that action at this time.
0 commit comments