--- # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: &app authelia spec: interval: 1h chartRef: kind: OCIRepository name: app-template install: remediation: retries: 3 upgrade: cleanupOnFail: true remediation: strategy: rollback retries: 3 dependsOn: - name: lldap - name: smtp-relay values: defaultPodOptions: enableServiceLinks: false securityContext: runAsUser: 568 runAsGroup: 568 controllers: authelia: replicas: 2 strategy: RollingUpdate annotations: reloader.stakater.com/auto: "true" secret.reloader.stakater.com/reload: authelia-db-secret containers: app: image: repository: ghcr.io/authelia/authelia tag: 4.39.9@sha256:a0a6b5560cc0a3717c790dc665859d4f031e6319ffcb32009722185adb8ca89b env: AUTHELIA_LOG_LEVEL: info AUTHELIA_NOTIFIER_SMTP_SENDER: "Authelia " AUTHELIA_SERVER_DISABLE_HEALTHCHECK: "true" AUTHELIA_SERVER_ADDRESS: tcp://0.0.0.0:8888 AUTHELIA_TELEMETRY_METRICS_ADDRESS: tcp://0.0.0.0:8080 AUTHELIA_TELEMETRY_METRICS_ENABLED: "true" AUTHELIA_THEME: dark AUTHELIA_TOTP_ISSUER: authelia.com AUTHELIA_WEBAUTHN_DISABLE: "true" X_AUTHELIA_CONFIG: /config/configuration.yaml X_AUTHELIA_CONFIG_FILTERS: template envFrom: - secretRef: name: authelia-secret - secretRef: name: authelia-db-secret probes: liveness: &probes enabled: true custom: true spec: httpGet: path: /api/health port: &port 8888 initialDelaySeconds: 0 periodSeconds: 10 timeoutSeconds: 1 failureThreshold: 3 readiness: *probes startup: enabled: false resources: requests: cpu: 10m memory: 32Mi limits: memory: 128Mi service: app: controller: *app ports: http: port: *port metrics: port: 8080 serviceMonitor: app: serviceName: *app enabled: true endpoints: - port: metrics scheme: http path: /metrics interval: 1m scrapeTimeout: 10s route: main: hostnames: ["auth.${SECRET_EXTERNAL_DOMAIN}"] parentRefs: - name: external namespace: network sectionName: https rules: - backendRefs: - name: *app port: *port persistence: config: enabled: true type: configMap name: authelia-configmap globalMounts: - path: /config/configuration.yaml subPath: configuration.yaml readOnly: true secret-files: enabled: true type: secret name: authelia-secret globalMounts: - path: /config/secret