-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathauthelia.yaml
88 lines (88 loc) · 2.58 KB
/
authelia.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: authelia
namespace: kube-system
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://charts.authelia.com
chart: authelia
version: 0.9.14
sourceRef:
kind: HelmRepository
name: authelia-charts
namespace: flux-system
interval: 5m
values:
ingress:
enabled: true
className: nginx-external
tls:
enabled: true
secret: authelia-cert
annotations:
kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/custom-http-errors: "418"
subdomain: auth
pod:
tolerations:
- key: "arm"
operator: "Exists"
configMap:
enabled: true
access_control:
default_policy: one_factor
storage:
encryption_key:
value: ${SECRET_AUTH_STORAGE_ENC_KEY}
postgres:
enabled: true
address: 'tcp://shared-psql-v16-rw.default.svc:5432'
database: authelia
username: authelia
password:
value: ${SECRET_AUTH_STORAGE_PASSWORD}
session:
cookies:
- domain: "${SECRET_DOMAIN}"
subdomain: 'auth'
redis:
enabled: true
enabledSecret: true
username: ""
password:
value: ${SECRET_AUTH_REDIS_PASSWORD}
host: 'authelia-valkey-primary.kube-system.svc'
port: 6379
database_index: 0
authentication_backend:
disable_reset_password: true
ldap:
enabled: true
implementation: custom
address: "ldap://openldap.kube-system.svc:1389"
password:
value: ${SECRET_LDAP_ADMIN_PASSWORD}
username_attribute: uid
additional_users_dn: ""
additional_groups_dn: ""
base_dn: ${SECRET_LDAP_BASE_DN}
user: CN=${SECRET_LDAP_ADMIN_USERNAME},${SECRET_LDAP_BASE_DN}
users_filter: "(&({username_attribute}={input})(objectClass=person))"
groups_filter: "(&(member={dn})(objectclass=groupOfNames))"
notifier:
smtp:
enabled: true
enabledSecret: true
username: ${SECRET_AUTH_SMTP_USER}
password:
value: ${SECRET_AUTH_SMTP_PASSWORD}
address: "submission://${SECRET_SMTP_DOMAIN}:587"
sender: ${SECRET_AUTH_SMTP_USER}
identifier: localhost
subject: "[Authelia] {title}"
startup_check_address: ${SECRET_AUTH_SMTP_USER}