diff --git a/homarr/homarr-deployment.yaml b/homarr/homarr-deployment.yaml index 6b7d304..1f76994 100644 --- a/homarr/homarr-deployment.yaml +++ b/homarr/homarr-deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: homarr - image: ghcr.io/ajnart/homarr:v0.13.4 + image: ghcr.io/ajnart/homarr:latest ports: - containerPort: 7575 env: @@ -29,6 +29,8 @@ spec: mountPath: /app/data/configs - name: homarr-icons mountPath: /app/public/icons + - name: homarr-data + mountPath: /data volumes: - name: homarr-config persistentVolumeClaim: @@ -36,3 +38,6 @@ spec: - name: homarr-icons persistentVolumeClaim: claimName: homarr-icons-pvc + - name: homarr-data + persistentVolumeClaim: + claimName: homarr-data-pvc diff --git a/homarr/homarr-pvc-data.yaml b/homarr/homarr-pvc-data.yaml new file mode 100644 index 0000000..e77d554 --- /dev/null +++ b/homarr/homarr-pvc-data.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: homarr-data-pvc + namespace: homarr-ns +spec: + storageClassName: longhorn + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi