Add data pvc to homarr
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Tyler Perkins 2023-12-08 17:12:18 -05:00
parent 0b3d4bb537
commit f76391839a
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8
2 changed files with 18 additions and 1 deletions

View File

@ -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

View File

@ -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