mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Add manual ghost
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user