aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yamls/deployment.yaml6
1 files changed, 5 insertions, 1 deletions
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