Renamed db-postgres volume name

This commit is contained in:
PB
2025-10-23 09:35:41 +02:00
parent b3b7fd6b5b
commit 7a4ebf2f6f

View File

@@ -103,7 +103,7 @@ spec:
ports: ports:
- containerPort: 5432 - containerPort: 5432
volumeMounts: volumeMounts:
- name: db-postgres-storage - name: db-postgres-data
mountPath: /var/lib/postgresql/data mountPath: /var/lib/postgresql/data
# subPath: data # subPath: data
- name: db-postgres-metrics - name: db-postgres-metrics
@@ -114,6 +114,6 @@ spec:
- name: DATA_SOURCE_NAME - name: DATA_SOURCE_NAME
value: "postgresql://postgres:12345678@db-postgres:5432/egommerce" #?sslmode=disable value: "postgresql://postgres:12345678@db-postgres:5432/egommerce" #?sslmode=disable
volumes: volumes:
- name: db-postgres-storage - name: db-postgres-data
persistentVolumeClaim: persistentVolumeClaim:
claimName: db-postgres-pvc claimName: db-postgres-pvc