REFACTOR(postgresql): switch authelia

- to pg storage, fix secr...
This commit is contained in:
2025-12-30 22:11:18 +09:00
parent 9af3f96546
commit f8d383f02e
2 changed files with 17 additions and 8 deletions

View File

@@ -51,11 +51,14 @@ configMap:
authelia_url: https://auth.mayne0213.kro.kr
default_redirection_url: https://mayne.kro.kr
# Storage - local SQLite (lightweight)
# Storage - PostgreSQL (CNPG cluster)
storage:
local:
postgres:
enabled: true
path: /data/db.sqlite3
address: tcp://postgresql-rw.postgresql.svc.cluster.local:5432
database: authelia
username: app
timeout: 5s
# Access control rules
access_control:
@@ -95,8 +98,4 @@ configMap:
secret:
existingSecret: authelia-secrets
# Persistence for SQLite database
persistence:
enabled: true
storageClass: longhorn
size: 1Gi
# No persistence needed - using PostgreSQL