Kubernetes: set container imagePullPolicy to always
All checks were successful
/ test (push) Successful in 43s
All checks were successful
/ test (push) Successful in 43s
This commit is contained in:
parent
c3bdc9c52f
commit
215b1ba8ab
1 changed files with 5 additions and 0 deletions
|
@ -33,6 +33,7 @@ spec:
|
|||
containers:
|
||||
- name: gisaf-database
|
||||
image: code.philo.ydns.eu/philorg/gisaf-database:latest
|
||||
imagePullPolicy: Always
|
||||
args:
|
||||
- postgres
|
||||
volumeMounts:
|
||||
|
@ -42,6 +43,7 @@ spec:
|
|||
- containerPort: 5432
|
||||
name: psql
|
||||
- image: docker.io/library/redis:alpine
|
||||
imagePullPolicy: Always
|
||||
name: gisaf-redis
|
||||
args:
|
||||
- redis-server
|
||||
|
@ -95,6 +97,7 @@ spec:
|
|||
initContainers:
|
||||
- name: gisaf-backend-initdb
|
||||
image: code.philo.ydns.eu/philorg/gisaf-backend:latest
|
||||
imagePullPolicy: Always
|
||||
command: ["gisaf", "create-db"]
|
||||
env:
|
||||
- name: GISAF__DB__HOST
|
||||
|
@ -102,6 +105,7 @@ spec:
|
|||
containers:
|
||||
- name: gisaf-backend
|
||||
image: code.philo.ydns.eu/philorg/gisaf-backend:latest
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: GISAF__GISAF_LIVE__REDIS
|
||||
value: redis://gisaf-database
|
||||
|
@ -109,6 +113,7 @@ spec:
|
|||
value: gisaf-database
|
||||
- name: gisaf-frontend
|
||||
image: code.philo.ydns.eu/philorg/gisaf-frontend:latest
|
||||
imagePullPolicy: Always
|
||||
args:
|
||||
- nginx
|
||||
- -g
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue