feat(authentik): add media pvc for persistent uploads
This commit is contained in:
@@ -17,6 +17,19 @@ data:
|
||||
AUTHENTIK_EMAIL__FROM: "authentik@stabify.de"
|
||||
AUTHENTIK_ERROR_REPORTING__ENABLED: "false"
|
||||
---
|
||||
# PVC for Media (Uploads)
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: authentik-media
|
||||
namespace: authentik
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
---
|
||||
# SERVER (Web/API)
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
@@ -64,6 +77,13 @@ spec:
|
||||
port: 9000
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 20
|
||||
volumeMounts:
|
||||
- name: media
|
||||
mountPath: /media
|
||||
volumes:
|
||||
- name: media
|
||||
persistentVolumeClaim:
|
||||
claimName: authentik-media
|
||||
---
|
||||
# WORKER (Background Tasks)
|
||||
apiVersion: apps/v1
|
||||
@@ -95,6 +115,13 @@ spec:
|
||||
name: authentik-config
|
||||
- secretRef:
|
||||
name: authentik-secrets
|
||||
volumeMounts:
|
||||
- name: media
|
||||
mountPath: /media
|
||||
volumes:
|
||||
- name: media
|
||||
persistentVolumeClaim:
|
||||
claimName: authentik-media
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
Reference in New Issue
Block a user