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:
|
containers:
|
||||||
- name: gisaf-database
|
- name: gisaf-database
|
||||||
image: code.philo.ydns.eu/philorg/gisaf-database:latest
|
image: code.philo.ydns.eu/philorg/gisaf-database:latest
|
||||||
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- postgres
|
- postgres
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
@ -42,6 +43,7 @@ spec:
|
||||||
- containerPort: 5432
|
- containerPort: 5432
|
||||||
name: psql
|
name: psql
|
||||||
- image: docker.io/library/redis:alpine
|
- image: docker.io/library/redis:alpine
|
||||||
|
imagePullPolicy: Always
|
||||||
name: gisaf-redis
|
name: gisaf-redis
|
||||||
args:
|
args:
|
||||||
- redis-server
|
- redis-server
|
||||||
|
@ -95,6 +97,7 @@ spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: gisaf-backend-initdb
|
- name: gisaf-backend-initdb
|
||||||
image: code.philo.ydns.eu/philorg/gisaf-backend:latest
|
image: code.philo.ydns.eu/philorg/gisaf-backend:latest
|
||||||
|
imagePullPolicy: Always
|
||||||
command: ["gisaf", "create-db"]
|
command: ["gisaf", "create-db"]
|
||||||
env:
|
env:
|
||||||
- name: GISAF__DB__HOST
|
- name: GISAF__DB__HOST
|
||||||
|
@ -102,6 +105,7 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- name: gisaf-backend
|
- name: gisaf-backend
|
||||||
image: code.philo.ydns.eu/philorg/gisaf-backend:latest
|
image: code.philo.ydns.eu/philorg/gisaf-backend:latest
|
||||||
|
imagePullPolicy: Always
|
||||||
env:
|
env:
|
||||||
- name: GISAF__GISAF_LIVE__REDIS
|
- name: GISAF__GISAF_LIVE__REDIS
|
||||||
value: redis://gisaf-database
|
value: redis://gisaf-database
|
||||||
|
@ -109,6 +113,7 @@ spec:
|
||||||
value: gisaf-database
|
value: gisaf-database
|
||||||
- name: gisaf-frontend
|
- name: gisaf-frontend
|
||||||
image: code.philo.ydns.eu/philorg/gisaf-frontend:latest
|
image: code.philo.ydns.eu/philorg/gisaf-frontend:latest
|
||||||
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- nginx
|
- nginx
|
||||||
- -g
|
- -g
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue