Add new config blog with secure false smtp

This commit is contained in:
Ruben Hensen
2025-03-26 03:08:37 +01:00
parent b69ed5d6e6
commit 1fadb4d4b9
3 changed files with 81 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: immich
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://github.com/rubenhensen/k8scd.git
targetRevision: HEAD
path: blog
destination:
server: https://kubernetes.default.svc
namespace: blog
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
selfHeal: true
+11
View File
@@ -47,6 +47,17 @@ spec:
## NOTE: When it's set, the `smtpPassword` parameter is ignored
##
smtpExistingSecret: hensenio-smtp
# Mount the ConfigMap as a volume
extraVolumes:
- name: ghost-config
configMap:
name: ghost-config
# Mount the volume at the specific file path
extraVolumeMounts:
- name: ghost-config
mountPath: /opt/bitnami/ghost/config.production.json
subPath: config.production.json
## @param allowEmptyPassword Allow the container to be started with blank passwords
allowEmptyPassword: false
resourcesPreset: "micro"
+49
View File
@@ -0,0 +1,49 @@
# 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"
}
}