瀏覽代碼

Add PVC to homeassistant

Victor Lavaud 4 月之前
父節點
當前提交
103041455c
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      homeasistant/homeassistant.yaml

+ 12 - 0
homeasistant/homeassistant.yaml

@@ -55,3 +55,15 @@ spec:
       targetPort: http
       nodePort: 31823
       name: http
+---
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+  name: homeassistant
+spec:
+  storageClassName: nfs-vrt
+  accessModes:
+    - ReadWriteMany
+  resources:
+    requests:
+      storage: 300Mi