Compare commits

...

4 Commits

Author SHA1 Message Date
d494527586 Remove old pv/pvc 2023-12-26 14:21:42 -08:00
d21241f225 Switch to new storage 2023-12-26 14:19:31 -08:00
2a9071d190 Add new mount for copying 2023-12-26 14:12:37 -08:00
612fe6738a Add new NFS-provisioned storage 2023-12-26 14:10:10 -08:00
2 changed files with 7 additions and 29 deletions

View File

@ -21,9 +21,9 @@ spec:
app: heimdall
spec:
volumes:
- name: heimdall-storage
- name: heimdall-storage-new
persistentVolumeClaim:
claimName: heimdall-storage
claimName: heimdall-storage-new
containers:
- image: ghcr.io/linuxserver/heimdall:2.5.8 # < the name of the docker image we will use
name: heimdall # < name of container
@ -40,5 +40,5 @@ spec:
name: http-80
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-storage # < volumelabel configured earlier in the yaml file
- mountPath: /config # < mount location in the container
name: heimdall-storage-new

View File

@ -1,35 +1,13 @@
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: heimdall-pv
namespace: heimdall
labels:
app: heimdall
spec:
storageClassName: "local-path"
capacity:
storage: 5Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
mountOptions:
- nolock
nfs:
server: 10.0.96.14
path: "/mnt/data/heimdall-config"
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: heimdall-storage
name: heimdall-storage-new
namespace: heimdall
annotations:
spec:
storageClassName: "local-path"
storageClassName: nfs-client
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
volumeName: heimdall-pv
storage: 1Gi