theshire/kubernetes/apps/default/qbittorrent/app/externalsecret.yaml
2024-01-14 16:51:20 -06:00

30 lines
898 B
YAML

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/external-secrets.io/externalsecret_v1beta1.json
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: qbittorrent
spec:
secretStoreRef:
kind: ClusterSecretStore
name: onepassword-connect
target:
name: qbittorrent-secret
creationPolicy: Owner
data:
- secretKey: VPN_ENDPOINT_IP
remoteRef:
key: ProtonVPN
property: qbittorrent_vpn_endpoint_ip
- secretKey: WIREGUARD_PUBLIC_KEY
remoteRef:
key: ProtonVPN
property: qbittorrent_wireguard_public_key
- secretKey: WIREGUARD_PRIVATE_KEY
remoteRef:
key: ProtonVPN
property: qbittorrent_wireguard_private_key
- secretKey: WIREGUARD_ADDRESSES
remoteRef:
key: ProtonVPN
property: qbittorrent_wireguard_addresses