diff --git a/manifests/02-deployments/deployment-postgres.yaml b/manifests/02-deployments/deployment-postgres.yaml index c6094bb..d5f7a3f 100644 --- a/manifests/02-deployments/deployment-postgres.yaml +++ b/manifests/02-deployments/deployment-postgres.yaml @@ -35,7 +35,8 @@ spec: key: postgres-dbname volumeMounts: - mountPath: /var/lib/postgresql/data - name: postgredb + name: postgredb + subPath: postgres volumes: - name: postgredb persistentVolumeClaim: