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:
|
image:
|
||||||
repository: jesec/flood
|
repository: jesec/flood
|
||||||
tag: master@sha256:3d20df051209bff2905dec4e8328c1c464d5375e730ef7d81ca21422e2ccf06a
|
tag: master@sha256:3d20df051209bff2905dec4e8328c1c464d5375e730ef7d81ca21422e2ccf06a
|
||||||
|
envFrom:
|
||||||
|
- secretRef:
|
||||||
|
name: flood-secret
|
||||||
env:
|
env:
|
||||||
FLOOD_OPTION_RUNDIR: /data
|
FLOOD_OPTION_RUNDIR: /data
|
||||||
FLOOD_OPTION_AUTH: none
|
FLOOD_OPTION_AUTH: none
|
||||||
FLOOD_OPTION_QBURL: http://qbittorrent.qbittorrent.svc.cluster.local
|
FLOOD_OPTION_QBURL: http://qbittorrent.qbittorrent.svc.cluster.local
|
||||||
FLOOD_OPTION_QBUSER: jahanson
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 250Mi
|
memory: 250Mi
|
||||||
|
@ -71,7 +73,7 @@ spec:
|
||||||
controller: *app
|
controller: *app
|
||||||
ports:
|
ports:
|
||||||
http:
|
http:
|
||||||
port: 3000
|
port: 80
|
||||||
ingress:
|
ingress:
|
||||||
app:
|
app:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
Loading…
Reference in a new issue