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