From dc5145cbc7d9e05ff2d49ad34e6e8ac28fdbaab1 Mon Sep 17 00:00:00 2001 From: akiyamn Date: Thu, 7 Jul 2022 21:02:02 +1000 Subject: Fix PVC --- yamls/pvc.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/yamls/pvc.yaml b/yamls/pvc.yaml index 3959dee..0694436 100644 --- a/yamls/pvc.yaml +++ b/yamls/pvc.yaml @@ -1,13 +1,9 @@ -kind: PersistentVolume +kind: PersistentVolumeClaim apiVersion: v1 metadata: - name: pv-storage - labels: - type: local + name: pvc-storage spec: - capacity: - storage: 2Gi accessModes: - ReadWriteMany - hostPath: - path: "/var/www/html" + resources: + storage: 2Gi \ No newline at end of file -- cgit v1.2.3