2024-10-17 00:31:50 +00:00
|
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json
|
2024-06-15 19:37:56 +00:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
2023-04-07 03:01:51 +00:00
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
2023-04-07 03:05:39 +00:00
|
|
|
name: authentik
|
2023-04-07 03:01:51 +00:00
|
|
|
namespace: authentik
|
2023-04-07 03:29:26 +00:00
|
|
|
labels:
|
|
|
|
needsDatabase: "yes"
|
2023-04-07 03:01:51 +00:00
|
|
|
spec:
|
|
|
|
interval: 5m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: authentik
|
2024-09-29 01:05:22 +00:00
|
|
|
version: 2024.8.3
|
2023-04-07 03:01:51 +00:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: authentik-charts
|
|
|
|
namespace: flux-system
|
2024-10-17 00:31:50 +00:00
|
|
|
dependsOn:
|
|
|
|
- name: redis
|
|
|
|
namespace: database
|
2023-04-07 03:01:51 +00:00
|
|
|
values:
|
2024-04-19 17:57:21 +00:00
|
|
|
global:
|
|
|
|
env:
|
|
|
|
- name: AUTHENTIK_HOST
|
|
|
|
value: &host "auth.${SECRET_NEW_DOMAIN}"
|
|
|
|
- name: AUTHENTIK_HOST_BROWSER
|
|
|
|
value: *host
|
|
|
|
- name: AUTHENTIK_SECRET_KEY
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
key: authentikSecretKey
|
|
|
|
name: authentik-secrets
|
|
|
|
- name: AUTHENTIK_POSTGRESQL__PASSWORD
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
key: pgsqlUserPassword
|
|
|
|
name: authentik-secrets
|
|
|
|
- name: AUTHENTIK_REDIS__PASSWORD
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
key: redisUserPassword
|
|
|
|
name: authentik-secrets
|
|
|
|
|
|
|
|
server:
|
|
|
|
# containerSecurityContext: &securityContext
|
|
|
|
# runAsUser: 10000
|
|
|
|
# runAsGroup: 10000
|
|
|
|
# fsGroup: 10000
|
|
|
|
# fsGroupChangePolicy: OnRootMismatch
|
2023-06-02 02:26:42 +00:00
|
|
|
|
2024-04-19 17:57:21 +00:00
|
|
|
ingress:
|
|
|
|
enabled: true
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
|
|
hosts:
|
|
|
|
- *host
|
|
|
|
paths:
|
|
|
|
- /
|
|
|
|
pathType: Prefix
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- *host
|
|
|
|
|
|
|
|
metrics:
|
|
|
|
enabled: true
|
|
|
|
serviceMonitor:
|
|
|
|
enabled: true
|
|
|
|
labels:
|
|
|
|
release: kube-prometheus-stack
|
|
|
|
|
|
|
|
prometheus:
|
|
|
|
rules:
|
|
|
|
enabled: true
|
2023-06-02 02:26:42 +00:00
|
|
|
|
2024-04-19 17:57:21 +00:00
|
|
|
# worker:
|
|
|
|
# containerSecurityContext: *securityContext
|
|
|
|
#
|
|
|
|
# geoip:
|
|
|
|
# containerSecurityContext: *securityContext
|
2023-06-02 02:26:42 +00:00
|
|
|
|
2023-04-07 03:01:51 +00:00
|
|
|
authentik:
|
|
|
|
# This sends anonymous usage-data, stack traces on errors and
|
|
|
|
# performance data to sentry.beryju.org, and is fully opt-in
|
2024-04-19 17:57:21 +00:00
|
|
|
log_level: debug
|
2023-04-07 03:01:51 +00:00
|
|
|
error_reporting:
|
|
|
|
enabled: true
|
2023-04-07 03:55:48 +00:00
|
|
|
environment: "k3s"
|
2023-04-07 03:01:51 +00:00
|
|
|
postgresql:
|
2024-10-17 00:31:50 +00:00
|
|
|
host: "postgres16-rw.database.svc"
|
2023-04-07 04:31:17 +00:00
|
|
|
name: "authentik" # database name
|
2023-04-17 00:35:53 +00:00
|
|
|
user: "authentik"
|
2023-04-07 03:01:51 +00:00
|
|
|
redis:
|
2024-06-05 22:19:29 +00:00
|
|
|
host: "redis-master.database"
|
|
|
|
|
|
|
|
email:
|
|
|
|
host: exim.default
|
|
|
|
port: 8025
|
|
|
|
username: ""
|
|
|
|
password: ""
|
|
|
|
use_tls: false
|
2024-06-05 22:38:16 +00:00
|
|
|
use_ssl: false
|
2024-06-05 22:19:29 +00:00
|
|
|
timeout: 30
|
|
|
|
from: karasu@${SECRET_NEW_DOMAIN}
|