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_EMAIL__FROM: "authentik@stabify.de"
|
||||||
AUTHENTIK_ERROR_REPORTING__ENABLED: "false"
|
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)
|
# SERVER (Web/API)
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
@@ -64,6 +77,13 @@ spec:
|
|||||||
port: 9000
|
port: 9000
|
||||||
initialDelaySeconds: 10
|
initialDelaySeconds: 10
|
||||||
periodSeconds: 20
|
periodSeconds: 20
|
||||||
|
volumeMounts:
|
||||||
|
- name: media
|
||||||
|
mountPath: /media
|
||||||
|
volumes:
|
||||||
|
- name: media
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: authentik-media
|
||||||
---
|
---
|
||||||
# WORKER (Background Tasks)
|
# WORKER (Background Tasks)
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
@@ -95,6 +115,13 @@ spec:
|
|||||||
name: authentik-config
|
name: authentik-config
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: authentik-secrets
|
name: authentik-secrets
|
||||||
|
volumeMounts:
|
||||||
|
- name: media
|
||||||
|
mountPath: /media
|
||||||
|
volumes:
|
||||||
|
- name: media
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: authentik-media
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
Reference in New Issue
Block a user