Switch to nfs storage

This commit is contained in:
Jim Nicholson 2022-12-05 03:06:26 -08:00
parent 5d92f24348
commit 1205e233c3
2 changed files with 3 additions and 17 deletions

View File

@ -21,9 +21,9 @@ spec:
app: heimdall app: heimdall
spec: spec:
volumes: volumes:
- name: heimdall-data - name: heimdall-storage
persistentVolumeClaim: persistentVolumeClaim:
claimName: heimdall-claim claimName: heimdall-storage
containers: containers:
- image: ghcr.io/linuxserver/heimdall:2.5.3 # < the name of the docker image we will use - image: ghcr.io/linuxserver/heimdall:2.5.3 # < the name of the docker image we will use
name: heimdall # < name of container name: heimdall # < name of container
@ -41,4 +41,4 @@ spec:
protocol: TCP protocol: TCP
volumeMounts: # < the volume mount in the container. Look at the relation volumelabel->pvc->pv volumeMounts: # < the volume mount in the container. Look at the relation volumelabel->pvc->pv
- mountPath: /config # < mount location in the container - 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

View File

@ -21,20 +21,6 @@ spec:
--- ---
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata:
name: heimdall-claim
namespace: heimdall
spec:
accessModes:
- ReadWriteOnce
storageClassName: local-path
resources:
requests:
storage: 5Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata: metadata:
name: heimdall-storage name: heimdall-storage
namespace: heimdall namespace: heimdall