invoice deployment updated
parent
eef5364326
commit
a392527c84
|
@ -8,13 +8,13 @@ metadata:
|
||||||
kompose.service.type: NodePort
|
kompose.service.type: NodePort
|
||||||
kompose.version: 1.34.0 (cbf2835db)
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: dl-invoice
|
io.kompose.service: pv-invoice
|
||||||
name: dl-invoice
|
name: pv-invoice
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
io.kompose.service: dl-invoice
|
io.kompose.service: pv-invoice
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
template:
|
template:
|
||||||
|
@ -26,7 +26,7 @@ spec:
|
||||||
kompose.service.type: NodePort
|
kompose.service.type: NodePort
|
||||||
kompose.version: 1.34.0 (cbf2835db)
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
labels:
|
labels:
|
||||||
io.kompose.service: dl-invoice
|
io.kompose.service: pv-invoice
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- args:
|
- args:
|
||||||
|
@ -34,15 +34,15 @@ spec:
|
||||||
- -c
|
- -c
|
||||||
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
|
||||||
image: git.humbingo.org/docker/dailyledger-invoiceservice:v20
|
image: git.humbingo.org/docker/dailyledger-invoiceservice:v20
|
||||||
name: dl-invoice
|
name: pv-invoice
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /dl-invoice
|
- mountPath: /pv-invoice
|
||||||
name: dl-invoice-cm0
|
name: pv-invoice-cm0
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
- configMap:
|
- configMap:
|
||||||
name: dl-invoice-cm0
|
name: pv-invoice-cm0
|
||||||
name: dl-invoice-cm0
|
name: pv-invoice-cm0
|
Loading…
Reference in New Issue