Add data pvc to homarr
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0b3d4bb537
commit
f76391839a
@ -15,7 +15,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: homarr
|
- name: homarr
|
||||||
image: ghcr.io/ajnart/homarr:v0.13.4
|
image: ghcr.io/ajnart/homarr:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 7575
|
- containerPort: 7575
|
||||||
env:
|
env:
|
||||||
@ -29,6 +29,8 @@ spec:
|
|||||||
mountPath: /app/data/configs
|
mountPath: /app/data/configs
|
||||||
- name: homarr-icons
|
- name: homarr-icons
|
||||||
mountPath: /app/public/icons
|
mountPath: /app/public/icons
|
||||||
|
- name: homarr-data
|
||||||
|
mountPath: /data
|
||||||
volumes:
|
volumes:
|
||||||
- name: homarr-config
|
- name: homarr-config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
@ -36,3 +38,6 @@ spec:
|
|||||||
- name: homarr-icons
|
- name: homarr-icons
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: homarr-icons-pvc
|
claimName: homarr-icons-pvc
|
||||||
|
- name: homarr-data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: homarr-data-pvc
|
||||||
|
12
homarr/homarr-pvc-data.yaml
Normal file
12
homarr/homarr-pvc-data.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user