mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Add new config blog with secure false smtp
This commit is contained in:
@@ -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
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user