user/pass

This commit is contained in:
Joseph Hanson 2024-08-21 01:16:08 -05:00
parent ae854ad14d
commit d886a9d48a
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 26 additions and 2 deletions

View 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

View file

@ -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