move to longhorn

This commit is contained in:
2022-12-04 10:54:33 -06:00
parent 22c6fcde1f
commit df281ab80f
2 changed files with 42 additions and 42 deletions

View File

@@ -1,24 +1,24 @@
apiVersion: v1 #apiVersion: v1
kind: PersistentVolume #kind: PersistentVolume
metadata: #metadata:
annotations: # annotations:
pv.kubernetes.io/provisioned-by: durp.info/nfs # pv.kubernetes.io/provisioned-by: durp.info/nfs
finalizers: # finalizers:
- kubernetes.io/pv-protection # - kubernetes.io/pv-protection
name: authentik-pv # name: authentik-pv
spec: #spec:
accessModes: # accessModes:
- ReadWriteMany # - ReadWriteMany
capacity: # capacity:
storage: 10Gi # storage: 10Gi
claimRef: # claimRef:
apiVersion: v1 # apiVersion: v1
kind: PersistentVolumeClaim # kind: PersistentVolumeClaim
name: authentik-pvc # name: authentik-pvc
namespace: authentik # namespace: authentik
nfs: # nfs:
path: /mnt/user/k3s/authentik # path: /mnt/user/k3s/authentik
server: 192.168.20.253 # server: 192.168.20.253
persistentVolumeReclaimPolicy: Retain # persistentVolumeReclaimPolicy: Retain
storageClassName: nfs-storage # storageClassName: nfs-storage
volumeMode: Filesystem # volumeMode: Filesystem

View File

@@ -1,18 +1,18 @@
apiVersion: v1 #apiVersion: v1
kind: PersistentVolumeClaim #kind: PersistentVolumeClaim
metadata: #metadata:
labels: # labels:
app.kubernetes.io/component: app # app.kubernetes.io/component: app
app.kubernetes.io/instance: authentik # app.kubernetes.io/instance: authentik
app.kubernetes.io/managed-by: Helm # app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: authentik # app.kubernetes.io/name: authentik
helm.sh/chart: authentik-2.14.4 # helm.sh/chart: authentik-2.14.4
name: authentik-pvc # name: authentik-pvc
namespace: authentik # namespace: authentik
spec: #spec:
accessModes: # accessModes:
- ReadWriteMany # - ReadWriteMany
resources: # resources:
requests: # requests:
storage: 10Gi # storage: 10Gi
storageClassName: nfs-storage # storageClassName: nfs-storage