2026-02-15 22:18:21 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
|
|
|
|
metadata:
|
|
|
|
|
name: authelia
|
|
|
|
|
spec:
|
|
|
|
|
replicas: {{ .Values.replicaCount }}
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
app: authelia
|
|
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
labels:
|
|
|
|
|
app: authelia
|
|
|
|
|
spec:
|
|
|
|
|
containers:
|
|
|
|
|
- name: authelia
|
|
|
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
|
|
|
ports:
|
|
|
|
|
- name: http
|
|
|
|
|
containerPort: 9091
|
|
|
|
|
env:
|
2026-02-16 21:52:19 +00:00
|
|
|
- name: AUTHELIA_SERVER_ADDRESS
|
|
|
|
|
value: "tcp://0.0.0.0:9091"
|
|
|
|
|
- name: PUID
|
|
|
|
|
value: "1000"
|
|
|
|
|
- name: PGID
|
|
|
|
|
value: "1000"
|
2026-02-15 22:18:21 +00:00
|
|
|
- name: JWT_SECRET
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: authelia-secrets
|
|
|
|
|
key: jwt_secret
|
|
|
|
|
- name: SESSION_SECRET
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: authelia-secrets
|
|
|
|
|
key: session_secret
|
|
|
|
|
- name: STORAGE_ENCRYPTION_KEY
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: authelia-secrets
|
|
|
|
|
key: storage_encryption_key
|
|
|
|
|
- name: SMTP_PASSWORD
|
|
|
|
|
valueFrom:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: authelia-secrets
|
|
|
|
|
key: smtp_password
|
|
|
|
|
volumeMounts:
|
|
|
|
|
- name: config
|
|
|
|
|
mountPath: /config
|
|
|
|
|
- name: data
|
|
|
|
|
mountPath: /var/lib/authelia
|
|
|
|
|
livenessProbe:
|
|
|
|
|
httpGet:
|
|
|
|
|
path: /api/health
|
|
|
|
|
port: http
|
|
|
|
|
readinessProbe:
|
|
|
|
|
httpGet:
|
|
|
|
|
path: /api/health
|
|
|
|
|
port: http
|
|
|
|
|
volumes:
|
|
|
|
|
- name: config
|
|
|
|
|
projected:
|
|
|
|
|
sources:
|
|
|
|
|
- configMap:
|
|
|
|
|
name: authelia-config
|
|
|
|
|
- secret:
|
|
|
|
|
name: authelia-secrets
|
|
|
|
|
items:
|
|
|
|
|
- key: users_database.yml
|
|
|
|
|
path: users_database.yml
|
|
|
|
|
- name: data
|
|
|
|
|
persistentVolumeClaim:
|
|
|
|
|
claimName: authelia-data
|