Files
k8scd/secrets/blog.yaml
T
Ruben Hensen 078b767887 Change ns es
2025-03-25 20:34:46 +01:00

33 lines
701 B
YAML

apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: hensenio-ghost-secrets
namespace: ghost
spec:
refreshInterval: "15m"
secretStoreRef:
name: vault-backend
kind: ClusterSecretStore
target:
name: ghost-es
creationPolicy: Owner
data:
- secretKey: mysql-root-password
remoteRef:
key: kv/ghost
property: ghostmsqlrootpw
- secretKey: mysql-password
remoteRef:
key: kv/ghost
property: ghostmsqlpw
- secretKey: ghost-password
remoteRef:
key: kv/ghost
property: ghostpw
- secretKey: smtp-password
remoteRef:
key: kv/hensenio/smtp
property: password