Always pull new image before deploying

This commit is contained in:
WilliamMiceli
2018-08-08 02:52:49 -04:00
parent da6ca0a9fc
commit 6a90d444e0
6 changed files with 7 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ services:
MYSQL_PASSWORD: ${DB_USER_PASS}
APP_ENV:
labels:
io.rancher.container.pull_image: always
{{- if (.Values.HOST_LABEL)}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}
@@ -43,6 +44,7 @@ services:
MYSQL_USER: snipe_user
MYSQL_PASSWORD: ${DB_USER_PASS}
labels:
io.rancher.container.pull_image: always
{{- if (.Values.HOST_LABEL)}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}