diff --git a/cluster/apps/database/postgresql/pgsql-pv.yaml b/cluster/apps/database/postgresql/pgsql-pv.yaml index c3c9809..a0fc9a6 100644 --- a/cluster/apps/database/postgresql/pgsql-pv.yaml +++ b/cluster/apps/database/postgresql/pgsql-pv.yaml @@ -4,7 +4,7 @@ metadata: name: postgresql-pv namespace: database spec: -# storageClassName: local-path + storageClassName: local-path persistentVolumeReclaimPolicy: Retain capacity: storage: 10Gi diff --git a/cluster/apps/database/postgresql/pgsql-pvc.yaml b/cluster/apps/database/postgresql/pgsql-pvc.yaml index 4567f6f..c6651a4 100644 --- a/cluster/apps/database/postgresql/pgsql-pvc.yaml +++ b/cluster/apps/database/postgresql/pgsql-pvc.yaml @@ -4,7 +4,7 @@ metadata: name: postgresql-pv-claim namespace: database spec: -# storageClassName: local-path + storageClassName: local-path accessModes: - ReadWriteOnce resources: