From fd96870ed646365bc2ef0cb7589ce9a675c45610 Mon Sep 17 00:00:00 2001 From: Maarten de Waard <maarten@greenhost.nl> Date: Mon, 25 Oct 2021 16:06:01 +0200 Subject: [PATCH] try out configuring WordPress for SMTP --- flux2/apps/wordpress/wordpress-values-configmap.yaml | 8 ++++++++ flux2/infrastructure/sources/wordpress.yaml | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/flux2/apps/wordpress/wordpress-values-configmap.yaml b/flux2/apps/wordpress/wordpress-values-configmap.yaml index 3b8fe598d..b2e51994d 100644 --- a/flux2/apps/wordpress/wordpress-values-configmap.yaml +++ b/flux2/apps/wordpress/wordpress-values-configmap.yaml @@ -40,6 +40,14 @@ data: role_mapping_enabled: true role_key: openappstack_roles + smtp_settings: + enabled: ${wordpress_smtp_enabled} + smtp_user: "${outgoing_mail_smtp_user}" + smtp_pass: "${outgoing_mail_smtp_password}" + smtp_host: "${outgoing_mail_smtp_host}" + smtp_from: "${outgoing_mail_smtp_user}" + smtp_port: "${outgoing_mail_smtp_port}" + database: auth: username: wordpress diff --git a/flux2/infrastructure/sources/wordpress.yaml b/flux2/infrastructure/sources/wordpress.yaml index 16caf91d6..d1bab02b8 100644 --- a/flux2/infrastructure/sources/wordpress.yaml +++ b/flux2/infrastructure/sources/wordpress.yaml @@ -14,4 +14,5 @@ spec: # For all available options, see: # https://toolkit.fluxcd.io/components/source/api/#source.toolkit.fluxcd.io/v1beta1.GitRepositoryRef ref: - tag: 0.4.0 + # tag: 0.4.0 + branch: 94-add-smtp-configuration-options -- GitLab