From 38d9272164ac79e1bfb1cff34774c93924da094e Mon Sep 17 00:00:00 2001 From: akiyamn Date: Thu, 7 Jul 2022 21:09:23 +1000 Subject: fix pvc again again --- yamls/deployment.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/yamls/deployment.yaml b/yamls/deployment.yaml index c2314d2..d04ec95 100644 --- a/yamls/deployment.yaml +++ b/yamls/deployment.yaml @@ -17,6 +17,10 @@ spec: labels: app: i2-deploy spec: + volumes: + - name: i2-pod-storage + persistentVolumeClaim: + claimName: i2-storage containers: - image: akiyamn/i2 name: i2 @@ -25,5 +29,5 @@ spec: resources: {} volumeMounts: - mountPath: "/var/www/html" - name: i2-storage + name: i2-pod-storage status: {} \ No newline at end of file -- cgit v1.2.3