mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-18 18:42:56 +02:00
Add manual ghost
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: ghost-config-prod
|
||||
namespace: ghost-blog
|
||||
spec:
|
||||
refreshInterval: "15m"
|
||||
secretStoreRef:
|
||||
name: vault-backend
|
||||
kind: ClusterSecretStore
|
||||
target:
|
||||
name: ghost-config-prod
|
||||
creationPolicy: Owner
|
||||
data:
|
||||
- secretKey: config.production.json
|
||||
remoteRef:
|
||||
key: kv/ghost-blog/config
|
||||
template:
|
||||
engine: gotmpl
|
||||
data: |
|
||||
{
|
||||
"url": "https://blog.hensen.io",
|
||||
"admin": {
|
||||
"url": "https://blog.hensen.io"
|
||||
},
|
||||
"server": {
|
||||
"port": 2368,
|
||||
"host": "0.0.0.0"
|
||||
},
|
||||
"mail": {
|
||||
"transport": "SMTP",
|
||||
"from": "{{ .email_from }}",
|
||||
"options": {
|
||||
"service": "{{ .email_service }}",
|
||||
"host": "{{ .email_host }}",
|
||||
"port": {{ .email_port }},
|
||||
"secure": {{ .email_secure }},
|
||||
"auth": {
|
||||
"user": "{{ .email_user }}",
|
||||
"pass": "{{ .email_password }}"
|
||||
}
|
||||
}
|
||||
},
|
||||
"logging": {
|
||||
"transports": [
|
||||
"stdout"
|
||||
]
|
||||
},
|
||||
"database": {
|
||||
"client": "mysql",
|
||||
"connection":
|
||||
{
|
||||
"host": "ghost-mysql-service",
|
||||
"user": "{{ .db_user }}",
|
||||
"password": "{{ .db_password }}",
|
||||
"database": "{{ .db_name }}",
|
||||
"port": "3306"
|
||||
}
|
||||
},
|
||||
"process": "local",
|
||||
"paths": {
|
||||
"contentPath": "/home/nonroot/app/ghost/content"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user