strato-infra/flux/cluster/apps/misc/tickets/secret.yaml
2022-06-12 00:13:28 +02:00

22 lines
452 B
YAML

apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: tickets-secrets
namespace: misc
spec:
refreshInterval: "15s"
secretStoreRef:
name: vault
kind: ClusterSecretStore
target:
name: tickets-secrets
data:
- secretKey: DATABASE_URL
remoteRef:
key: k8s/tickets
property: db-secret
- secretKey: ADMIN_PASSWORD
remoteRef:
key: k8s/tickets
property: password