Some bug fixes
[ealt-edge.git] / mecm / mepm / applcm / resources / deployment / postgres-db-pvc.yaml
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# yamllint disable
+
+# persistent volume
+---
+kind: PersistentVolume
 apiVersion: v1
+metadata:
+  name: postgres-pv-volume
+  labels:
+    type: local
+    app: postgres
+spec:
+  storageClassName: manual
+  capacity:
+    storage: 5Gi
+  accessModes:
+    - ReadWriteMany
+  hostPath:
+    path: "/data"
+
+# pvc
+---
 kind: PersistentVolumeClaim
+apiVersion: v1
 metadata:
-  creationTimestamp: null
+  name: postgres-pv-claim
+  namespace: default
   labels:
-    io.kompose.service: my-db
-  name: my-db
+    app: postgres
 spec:
+  storageClassName: manual
   accessModes:
-  - ReadWriteOnce
+    - ReadWriteMany
   resources:
     requests:
-      storage: 100Mi
-status: {}
-
-# yamllint enable
+      storage: 5Gi