feat(qbittorrent): Add Unpackerr
This commit is contained in:
parent
01b2c16517
commit
140ac4689f
4 changed files with 67 additions and 0 deletions
|
|
@ -36,3 +36,15 @@ data:
|
||||||
PGID: "1000"
|
PGID: "1000"
|
||||||
QBT_LEGAL_NOTICE: confirm
|
QBT_LEGAL_NOTICE: confirm
|
||||||
QBT_WEBUI_PORT: "8112"
|
QBT_WEBUI_PORT: "8112"
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: unpackerr-envs
|
||||||
|
data:
|
||||||
|
PUID: "1000"
|
||||||
|
PGID: "1000"
|
||||||
|
TZ: Europe/Amsterdam
|
||||||
|
UN_FOLDER_0_PATH: /shared/media/downloads
|
||||||
|
UN_RADARR_0_URL: http://radarr.radarr.svc.cluster.local
|
||||||
|
UN_SONARR_0_URL: http://sonarr.sonarr.svc.cluster.local
|
||||||
|
|
|
||||||
|
|
@ -87,6 +87,26 @@ spec:
|
||||||
capabilities:
|
capabilities:
|
||||||
drop:
|
drop:
|
||||||
- "ALL"
|
- "ALL"
|
||||||
|
- name: unpackerr
|
||||||
|
image: golift/unpackerr
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
envFrom:
|
||||||
|
- configMapRef:
|
||||||
|
name: unpackerr-envs
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /config
|
||||||
|
name: unpackerr-config
|
||||||
|
- mountPath: /shared/media/downloads
|
||||||
|
name: nfs-media
|
||||||
|
securityContext:
|
||||||
|
seccompProfile:
|
||||||
|
type: RuntimeDefault
|
||||||
|
runAsUser: 1000
|
||||||
|
runAsGroup: 1000
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
|
capabilities:
|
||||||
|
drop:
|
||||||
|
- "ALL"
|
||||||
volumes:
|
volumes:
|
||||||
- name: dev-tun
|
- name: dev-tun
|
||||||
hostPath:
|
hostPath:
|
||||||
|
|
@ -95,6 +115,9 @@ spec:
|
||||||
- name: qbittorrent-config
|
- name: qbittorrent-config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: qbittorrent-storage
|
claimName: qbittorrent-storage
|
||||||
|
- name: unpackerr-config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: unpackerr-storage
|
||||||
- name: gluetun-wgconfig
|
- name: gluetun-wgconfig
|
||||||
secret:
|
secret:
|
||||||
secretName: gluetun-wgconfig
|
secretName: gluetun-wgconfig
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,18 @@ spec:
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: unpackerr-storage
|
||||||
|
spec:
|
||||||
|
storageClassName: piraeus-lvmthin
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 5Gi
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: nfs-media
|
name: nfs-media
|
||||||
spec:
|
spec:
|
||||||
|
|
|
||||||
|
|
@ -17,3 +17,23 @@ spec:
|
||||||
remoteRef:
|
remoteRef:
|
||||||
key: secrets/managed/qbittorrent/protonvpn-wgconfig
|
key: secrets/managed/qbittorrent/protonvpn-wgconfig
|
||||||
property: config
|
property: config
|
||||||
|
---
|
||||||
|
apiVersion: external-secrets.io/v1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: unpackerr-env-secrets
|
||||||
|
spec:
|
||||||
|
secretStoreRef:
|
||||||
|
name: vault-wheatley
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
target:
|
||||||
|
name: unpackerr-env-secrets
|
||||||
|
data:
|
||||||
|
- secretKey: UN_RADARR_0_API_KEY
|
||||||
|
remoteRef:
|
||||||
|
key: secrets/managed/qbittorrent/unpackerr-env-secrets
|
||||||
|
property: radarr_api_key
|
||||||
|
- secretKey: UN_SONARR_0_API_KEY
|
||||||
|
remoteRef:
|
||||||
|
key: secrets/managed/qbittorrent/unpackerr-env-secrets
|
||||||
|
property: sonarr_api_key
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue