From 90a274ef5b7dd6ebf94bd47040d05cfa6a86c051 Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Wed, 26 Mar 2025 03:23:32 +0100 Subject: [PATCH] Add env secure false --- apps/templates/blog-helm.yaml | 9 +++++++ blog/cm.yaml | 49 ----------------------------------- 2 files changed, 9 insertions(+), 49 deletions(-) delete mode 100644 blog/cm.yaml diff --git a/apps/templates/blog-helm.yaml b/apps/templates/blog-helm.yaml index a96937e..cde9725 100644 --- a/apps/templates/blog-helm.yaml +++ b/apps/templates/blog-helm.yaml @@ -47,6 +47,15 @@ spec: ## NOTE: When it's set, the `smtpPassword` parameter is ignored ## smtpExistingSecret: hensenio-smtp + ## @param extraEnvVars Array with extra environment variables to add to the Ghost container + ## e.g: + ## extraEnvVars: + ## - name: FOO + ## value: "bar" + ## + extraEnvVars: + - name: mail__options__secure + value: "false" # Mount the ConfigMap as a volume extraVolumes: - name: ghost-config diff --git a/blog/cm.yaml b/blog/cm.yaml deleted file mode 100644 index 1d70cb3..0000000 --- a/blog/cm.yaml +++ /dev/null @@ -1,49 +0,0 @@ -# ghost-config.yaml - Apply this with ArgoCD -apiVersion: v1 -kind: ConfigMap -metadata: - name: ghost-config - labels: - app: ghost -data: - config.production.json: | - { - "database": { - "client": "mysql", - "connection": { - "host": "blog-helm-mysql", - "port": 3306, - "database": "bitnami_ghost", - "user": "bn_ghost", - "password": "hq&UiS9T%QuabRbW", - "ssl": false - } - }, - "url": "https://blog.hensen.io/", - "server": { - "port": 2368, - "host": "0.0.0.0" - }, - "mail": { - "transport": "SMTP", - "from": "ruben.hensen@protonmail.com", - "options": { - "host": "smtp.hostinger.com", - "port": 465, - "secure": false, - "auth": { - "user": "ruben@hensen.io", - "pass": "q8R^v2QmZqiv&DH%6x29qaWf" - } - } - }, - "logging": { - "transports": [ - "file" - ] - }, - "process": "local", - "paths": { - "contentPath": "/opt/bitnami/ghost/content" - } - } \ No newline at end of file