add image registry
This commit is contained in:
@ -31,7 +31,7 @@ spec:
|
||||
- name: {{ .Chart.Name }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
envFrom:
|
||||
{{- if .Values.extraEnvVarsSecret }}
|
||||
|
@ -22,7 +22,7 @@ spec:
|
||||
emptyDir: { }
|
||||
initContainers:
|
||||
- name: copy
|
||||
image: "{{ .Values.migrations.image.registry }}/{{ .Values.migrations.image.repository }}:{{ .Values.migrations.image.tag | default "latest" }}"
|
||||
image: "{{ .Values.migrations.image.registry }}/{{ .Values.migrations.image.registry }}/{{ .Values.migrations.image.repository }}:{{ .Values.migrations.image.tag | default "latest" }}"
|
||||
command:
|
||||
- cp
|
||||
- -R
|
||||
@ -34,7 +34,7 @@ spec:
|
||||
mountPath: /shared-data
|
||||
containers:
|
||||
- name: migrate
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||
command: [ "/bin/sh", "-c" ]
|
||||
args:
|
||||
- set -ex;
|
||||
|
Reference in New Issue
Block a user