homelab/k8s/apps/ghost/secret.yaml
2025-02-10 22:02:42 -08:00

38 lines
629 B
YAML

---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: ghost-db-creds
namespace: default
spec:
secretStoreRef:
kind: ClusterSecretStore
name: infisical
target:
name: ghost-db-creds
data:
- secretKey: mysql-password
remoteRef:
key: ghost-mysql-password
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: ghost-creds
namespace: default
spec:
secretStoreRef:
kind: ClusterSecretStore
name: infisical
target:
name: ghost-creds
data:
- secretKey: ghost-password
remoteRef:
key: ghost-password