aboutsummaryrefslogtreecommitdiff
path: root/yamls/pvc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'yamls/pvc.yaml')
-rw-r--r--yamls/pvc.yaml12
1 files 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