mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-07 07:50:29 -05:00
test
This commit is contained in:
parent
fba10519d6
commit
4c24fe1bd1
3 changed files with 43 additions and 3 deletions
24
authentik/templates/authentik-pv.yaml
Normal file
24
authentik/templates/authentik-pv.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
annotations:
|
||||
pv.kubernetes.io/provisioned-by: durp.info/nfs
|
||||
finalizers:
|
||||
- kubernetes.io/pv-protection
|
||||
name: authentik-pv
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
capacity:
|
||||
storage: 10Gi
|
||||
claimRef:
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
name: authentik-pvc
|
||||
namespace: authentik
|
||||
nfs:
|
||||
path: /mnt/user/k3s/authentik
|
||||
server: 192.168.20.253
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
storageClassName: nfs-storage
|
||||
volumeMode: Filesystem
|
||||
18
authentik/templates/authentik-pvc.yaml
Normal file
18
authentik/templates/authentik-pvc.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/component: app
|
||||
app.kubernetes.io/instance: authentik
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: authentik
|
||||
helm.sh/chart: authentik-2.14.4
|
||||
name: authentik-pvc
|
||||
namespace: authentik
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
storageClassName: nfs-storage
|
||||
|
|
@ -145,9 +145,7 @@ authentik:
|
|||
existingSecret: authentik-postgresql1
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: nfs-storage
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
existingClaim: authentik-pvc
|
||||
redis:
|
||||
enabled: true
|
||||
architecture: standalone
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue