authentik pvc

This commit is contained in:
Steffen Illium 2024-04-06 10:46:49 +02:00
parent 92005d9b86
commit 3b4fe2a406
3 changed files with 33 additions and 1 deletions

View File

@ -40,5 +40,13 @@ postgresql:
enabled: true enabled: true
auth: auth:
password: "---" password: "---"
primary:
persistence:
enabled: true
storageClass: local-path
redis: redis:
enabled: true enabled: true
persistence:
enabled: false

View File

@ -18,3 +18,6 @@ helmCharts:
releaseName: "authentik" releaseName: "authentik"
repo: https://charts.goauthentik.io repo: https://charts.goauthentik.io
valuesFile: base/values.yaml valuesFile: base/values.yaml
patches:
- path: patches/change-pvc-storageclass.yaml

View File

@ -0,0 +1,21 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: authentik-redis-master
spec:
volumeClaimTemplates:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
labels:
app.kubernetes.io/component: master
app.kubernetes.io/instance: authentik
app.kubernetes.io/name: redis
name: redis-data
spec:
storageClassName: local-path
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 8Gi