Add manual ghost

This commit is contained in:
Ruben Hensen
2025-03-26 12:16:38 +01:00
parent 36228e2cb7
commit db52e1dda1
9 changed files with 513 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: ghost-mysql-env
namespace: ghost-blog
spec:
refreshInterval: "15m"
secretStoreRef:
name: vault-backend
kind: ClusterSecretStore
target:
name: ghost-mysql-env
creationPolicy: Owner
data:
- secretKey: MYSQL_DATABASE
remoteRef:
key: kv/ghost-blog/mysql
property: database
- secretKey: MYSQL_USER
remoteRef:
key: kv/ghost-blog/mysql
property: username
- secretKey: MYSQL_PASSWORD
remoteRef:
key: kv/ghost-blog/mysql
property: password
- secretKey: MYSQL_ROOT_PASSWORD
remoteRef:
key: kv/ghost-blog/mysql
property: root_password
- secretKey: MYSQL_HOST
remoteRef:
key: kv/ghost-blog/mysql
property: host