Added migration docker image
All checks were successful
Build & Push / build (push) Successful in 3m45s
All checks were successful
Build & Push / build (push) Successful in 3m45s
This commit is contained in:
@@ -21,9 +21,8 @@ spec:
|
||||
{{- end }}
|
||||
initContainers:
|
||||
- name: migrate
|
||||
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
command: ["npm", "run", "migrate"]
|
||||
image: {{ .Values.initImage.repository }}:{{ .Values.initImage.tag }}
|
||||
imagePullPolicy: {{ .Values.initImage.pullPolicy }}
|
||||
env:
|
||||
- name: DATABASE_URL
|
||||
valueFrom:
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
image:
|
||||
repository: git.sebse.de/sebse/factorio-signal-exporter
|
||||
tag: latest
|
||||
pullPolicy: IfNotPresent
|
||||
pullPolicy: Always
|
||||
|
||||
initImage:
|
||||
repository: git.sebse.de/sebse/factorio-signal-exporter-migrate
|
||||
tag: latest
|
||||
pullPolicy: Always
|
||||
|
||||
imagePullSecrets: []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user