22 lines
452 B
YAML
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
|