user/pass
This commit is contained in:
parent
ae854ad14d
commit
d886a9d48a
2 changed files with 26 additions and 2 deletions
22
kubernetes/apps/qbittorrent/flood/app/externalsecret.yaml
Normal file
22
kubernetes/apps/qbittorrent/flood/app/externalsecret.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: flood
|
||||
namespace: qbittorrent
|
||||
spec:
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
name: onepassword-connect
|
||||
target:
|
||||
name: flood-secret
|
||||
data:
|
||||
- secretKey: FLOOD_OPTION_QBUSER
|
||||
remoteRef:
|
||||
key: flood
|
||||
property: username
|
||||
- secretKey: FLOOD_OPTION_QBPASS
|
||||
remoteRef:
|
||||
key: flood
|
||||
property: password
|
|
@ -44,11 +44,13 @@ spec:
|
|||
image:
|
||||
repository: jesec/flood
|
||||
tag: master@sha256:3d20df051209bff2905dec4e8328c1c464d5375e730ef7d81ca21422e2ccf06a
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: flood-secret
|
||||
env:
|
||||
FLOOD_OPTION_RUNDIR: /data
|
||||
FLOOD_OPTION_AUTH: none
|
||||
FLOOD_OPTION_QBURL: http://qbittorrent.qbittorrent.svc.cluster.local
|
||||
FLOOD_OPTION_QBUSER: jahanson
|
||||
resources:
|
||||
requests:
|
||||
memory: 250Mi
|
||||
|
@ -71,7 +73,7 @@ spec:
|
|||
controller: *app
|
||||
ports:
|
||||
http:
|
||||
port: 3000
|
||||
port: 80
|
||||
ingress:
|
||||
app:
|
||||
enabled: true
|
||||
|
|
Loading…
Reference in a new issue