Fix transmission password

This commit is contained in:
2025-08-03 02:13:59 +02:00
parent 838f3f56b2
commit 60dc4e348d
3 changed files with 17 additions and 9 deletions

View File

@@ -23,5 +23,5 @@ kubectl create secret generic bitwarden-access-token -n external-secrets --from-
zfs pool creation:
```bash
k -n kube-system debug -it --profile sysadmin --image=ubuntu node/kadan
chroot /host zpool create -o ashift=12 -O mountpoint=/var/ocean -O xattr=sa -O compression=zstd -O acltype=posixacl -O atime=off ocean raidz sdc sdd
chroot /host zpool create -o ashift=12 -O mountpoint=legacy -O xattr=sa -O compression=zstd -O acltype=posixacl -O atime=off ocean raidz sdc sdd
```

View File

@@ -37,10 +37,16 @@ spec:
value: "27071"
- name: TRANSMISSION__RPC_AUTHENTICATION_REQUIRED
value: "true"
envFrom:
- prefix: TRANSMISSION__RPC_
secretRef:
name: transmission
- name: TRANSMISSION__RPC_USERNAME
valueFrom:
secretKeyRef:
name: transmission
key: username
- name: TRANSMISSION__RPC_PASSWORD
valueFrom:
secretKeyRef:
name: transmission
key: password
volumeMounts:
- name: config
mountPath: /config

View File

@@ -15,10 +15,12 @@ spec:
- name: flood
image: jesec/flood:4.9.5
env:
- name: HOME
value: /config
- name: FLOOD_OPTION_AUTH
value: none
- name: FLOOD_OPTION_TRURL
value: "http://transmission:9091"
value: "http://transmission:9091/transmission/rpc"
- name: FLOOD_OPTION_TRUSER
valueFrom:
secretKeyRef:
@@ -31,13 +33,13 @@ spec:
key: password
volumeMounts:
- name: config
mountPath: /data
mountPath: /config
- name: downloads
mountPath: /downloads
readonly: true
readOnly: true
- name: medias
mountPath: /medias
readonly: true
readOnly: true
volumes:
- name: config
persistentVolumeClaim: