82bb179bc2
* root: make global email settings configurable * stages/email: add use_global_settings * stages/email: add test_email command to test email sending * stages/email: update email template * stages/email: simplify email template path * stages/email: add support for user-supplied email templates * stages/email: add tests for sending and templates * stages/email: only add custom template if permissions are correct * docs: add custom email template docs * root: add /templates volume in docker-compose by default * stages/email: fix form not allowing custom templates * stages/email: use relative path for custom templates * stages/email: check if all templates exist on startup, reset * docs: add global email docs for docker-compose * helm: add email config to helm chart * helm: load all secrets with env prefix * helm: move s3 and smtp secret to secret * stages/email: fix test for relative name * stages/email: add argument to send email from existing stage * stages/email: set uid using slug of message id * stages/email: ensure template validation ignores migration runs * docs: add email troubleshooting docs * stages/email: fix long task_name breaking task list
28 lines
1.3 KiB
YAML
28 lines
1.3 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "authentik.fullname" . }}-config
|
|
data:
|
|
POSTGRESQL__HOST: "{{ .Release.Name }}-postgresql"
|
|
POSTGRESQL__NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
POSTGRESQL__USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
{{- if .Values.backup }}
|
|
POSTGRESQL__S3_BACKUP__ACCESS_KEY: "{{ .Values.backup.accessKey }}"
|
|
POSTGRESQL__S3_BACKUP__BUCKET: "{{ .Values.backup.bucket }}"
|
|
POSTGRESQL__S3_BACKUP__REGION: "{{ .Values.backup.region }}"
|
|
POSTGRESQL__S3_BACKUP__HOST: "{{ .Values.backup.host }}"
|
|
{{- end}}
|
|
REDIS__HOST: "{{ .Release.Name }}-redis-master"
|
|
ERROR_REPORTING__ENABLED: "{{ .Values.config.errorReporting.enabled }}"
|
|
ERROR_REPORTING__ENVIRONMENT: "{{ .Values.config.errorReporting.environment }}"
|
|
ERROR_REPORTING__SEND_PII: "{{ .Values.config.errorReporting.sendPii }}"
|
|
LOG_LEVEL: "{{ .Values.config.logLevel }}"
|
|
OUTPOSTS__DOCKER_IMAGE_BASE: "{{ .Values.image.name_outposts }}"
|
|
EMAIL__HOST: "{{ .Values.config.email.host }}"
|
|
EMAIL__PORT: "{{ .Values.config.email.port }}"
|
|
EMAIL__USERNAM: "{{ .Values.config.email.username }}"
|
|
EMAIL__USE_TLS: "{{ .Values.config.email.use_tls }}"
|
|
EMAIL__USE_SSL: "{{ .Values.config.email.use_ssl }}"
|
|
EMAIL__TIMEOUT: "{{ .Values.config.email.timeout }}"
|
|
EMAIL__FROM: "{{ .Values.config.email.from }}"
|