23 lines
555 B
YAML
23 lines
555 B
YAML
|
|
apiVersion: external-secrets.io/v1beta1
|
||
|
|
kind: ExternalSecret
|
||
|
|
metadata:
|
||
|
|
name: matrix-bot-credentials
|
||
|
|
namespace: default
|
||
|
|
spec:
|
||
|
|
refreshInterval: 1h
|
||
|
|
secretStoreRef:
|
||
|
|
kind: ClusterSecretStore
|
||
|
|
name: vault-backend
|
||
|
|
target:
|
||
|
|
name: matrix-bot-credentials
|
||
|
|
creationPolicy: Owner
|
||
|
|
data:
|
||
|
|
- secretKey: MATRIX_BOT_PASSWORD
|
||
|
|
remoteRef:
|
||
|
|
key: secret/data/nest/matrix-bot
|
||
|
|
property: bot_password
|
||
|
|
- secretKey: KEYCLOAK_CLIENT_SECRET
|
||
|
|
remoteRef:
|
||
|
|
key: secret/data/nest/matrix-bot
|
||
|
|
property: client_secret
|