Updated pv-gas-deployment.yaml with new image tag V5

master
Jenkins 2025-02-13 13:34:33 -05:00
parent 4b602e012a
commit 310c66f4b3
1 changed files with 7 additions and 5 deletions

View File

@ -1,10 +1,12 @@
# Updated section with the new image tag
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
annotations: annotations:
kompose.cmd: kompose convert -f ../docker-compose.yaml kompose.cmd: kompose convert -f ../docker-compose.yaml
kompose.service.expose: "true" kompose.service.expose: "true"
kompose.service.nodeport: "30009" kompose.service.nodeport: "30001"
kompose.service.type: NodePort kompose.service.type: NodePort
kompose.version: 1.34.0 (cbf2835db) kompose.version: 1.34.0 (cbf2835db)
labels: labels:
@ -22,7 +24,7 @@ spec:
annotations: annotations:
kompose.cmd: kompose convert -f ../docker-compose.yaml kompose.cmd: kompose convert -f ../docker-compose.yaml
kompose.service.expose: "true" kompose.service.expose: "true"
kompose.service.nodeport: "30009" kompose.service.nodeport: "30001"
kompose.service.type: NodePort kompose.service.type: NodePort
kompose.version: 1.34.0 (cbf2835db) kompose.version: 1.34.0 (cbf2835db)
labels: labels:
@ -32,15 +34,15 @@ spec:
- args: - args:
- bash - bash
- -c - -c
- python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000 - python manage.py makemigrations --merge && python manage.py migrate && python manage.py runserver 0.0.0.0:8000
image: 147.79.66.211:3000/docker/paisavara-gas:v20 image: 147.79.66.211:3000/docker/paisavara-gas:V5
name: pv-gas name: pv-gas
ports: ports:
- containerPort: 8000 - containerPort: 8000
protocol: TCP protocol: TCP
volumeMounts: volumeMounts:
- mountPath: /pv-gas - mountPath: /pv-gas
name: pv-gas-cm0 name: pv-invoice-cm0
restartPolicy: Always restartPolicy: Always
volumes: volumes:
- configMap: - configMap: