Răsfoiți Sursa

Corrijo path a datos en postgres

Celestino Rey 10 luni în urmă
părinte
comite
8a2b880c8b
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      K8S/db-deployment.yaml

+ 2 - 0
K8S/db-deployment.yaml

@@ -40,6 +40,8 @@ spec:
                 configMapKeyRef:
                 configMapKeyRef:
                   key: POSTGRES_USER
                   key: POSTGRES_USER
                   name: env-prod-db
                   name: env-prod-db
+            - name: PGDATA
+              value: /var/lib/postgresql/data/pgdata
           image: postgres:15
           image: postgres:15
           name: postgresql
           name: postgresql
           volumeMounts:
           volumeMounts: