feat(k8s/storage): convert all stateful PVCs to static NFS PVs
This commit is contained in:
17
kubernetes/infrastructure/controllers/authelia/pv.yaml
Normal file
17
kubernetes/infrastructure/controllers/authelia/pv.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: authelia-data
|
||||
spec:
|
||||
capacity:
|
||||
storage: 1Gi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: ""
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
mountOptions:
|
||||
- hard
|
||||
- nointr
|
||||
nfs:
|
||||
server: synology.storage.lviv
|
||||
path: /volume3/k8s-storage/authelia-data
|
||||
@@ -7,7 +7,8 @@ metadata:
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: nfs-synology-ssd
|
||||
storageClassName: ""
|
||||
volumeName: authelia-data
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
|
||||
Reference in New Issue
Block a user