-
Notifications
You must be signed in to change notification settings - Fork 0
/
qbittorrent-spc.yml
30 lines (30 loc) · 871 Bytes
/
qbittorrent-spc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
apiVersion: secrets-store.csi.x-k8s.io/v1alpha1
kind: SecretProviderClass
metadata:
name: qbittorrent
spec:
provider: vault
secretObjects:
- secretName: qbittorrent
type: Opaque
data:
- objectName: VPN_USERNAME
key: VPN_USERNAME
- objectName: VPN_PASSWORD
key: VPN_PASSWORD
- objectName: LAN_NETWORK
key: LAN_NETWORK
parameters:
vaultAddress: 'http://vault.vault:8200'
vaultKubernetesMountPath: 'k8s-vault-csi'
roleName: qbittorrent
objects: |
- objectName: "VPN_USERNAME"
secretPath: "apps-kv/data/qbittorrent/vpn"
secretKey: "VPN_USERNAME"
- objectName: "VPN_PASSWORD"
secretPath: "apps-kv/data/qbittorrent/vpn"
secretKey: "VPN_PASSWORD"
- objectName: "LAN_NETWORK"
secretPath: "apps-kv/data/qbittorrent/vpn"
secretKey: "LAN_NETWORK"