refactor: Update API deployment and service names to match component name change

This commit is contained in:
2024-08-13 21:24:06 +08:00
parent d9498c66c7
commit d4037c7218
9 changed files with 4 additions and 4 deletions
@@ -0,0 +1,28 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: api-deployment
spec:
replicas: 1
selector:
matchLabels:
component: api
template:
metadata:
labels:
component: api
spec:
containers:
- name: api
image: uxioandrade/tutorial-api
ports:
- containerPort: 8080
env:
- name: PG_HOST
value: postgres-cluster-ip-service
- name: PG_PORT
value: '5432'
- name: PGUSER
value: postgres
- name: PGDATABASE
value: postgres