mirror of
https://github.com/thejimnicholson/heimdall-k8s.git
synced 2025-12-06 03:30:45 +00:00
Switch to nfs storage
This commit is contained in:
parent
5d92f24348
commit
1205e233c3
@ -21,9 +21,9 @@ spec:
|
||||
app: heimdall
|
||||
spec:
|
||||
volumes:
|
||||
- name: heimdall-data
|
||||
- name: heimdall-storage
|
||||
persistentVolumeClaim:
|
||||
claimName: heimdall-claim
|
||||
claimName: heimdall-storage
|
||||
containers:
|
||||
- image: ghcr.io/linuxserver/heimdall:2.5.3 # < the name of the docker image we will use
|
||||
name: heimdall # < name of container
|
||||
@ -41,4 +41,4 @@ spec:
|
||||
protocol: TCP
|
||||
volumeMounts: # < the volume mount in the container. Look at the relation volumelabel->pvc->pv
|
||||
- mountPath: /config # < mount location in the container
|
||||
name: heimdall-data # < volumelabel configured earlier in the yaml file
|
||||
name: heimdall-storage # < volumelabel configured earlier in the yaml file
|
||||
|
||||
14
volume.yaml
14
volume.yaml
@ -21,20 +21,6 @@ spec:
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: heimdall-claim
|
||||
namespace: heimdall
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: local-path
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: heimdall-storage
|
||||
namespace: heimdall
|
||||
|
||||
Loading…
Reference in New Issue
Block a user