Skip to content

Commit

Permalink
fix: update qbtools config
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <[email protected]>
  • Loading branch information
onedr0p committed Aug 5, 2024
1 parent 53717c6 commit 368b23d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 19 deletions.
29 changes: 13 additions & 16 deletions kubernetes/main/apps/default/qbittorrent/tools/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ spec:
successfulJobsHistory: 1
failedJobsHistory: 1
initContainers:
tagging:
image: &image
tagging: &container
image:
repository: ghcr.io/buroa/qbtools
tag: v0.15.4@sha256:51c454cdf95e216a8f40ec5744ecbd8f29a924b4aada805fee64beb0b89cbe59
env: &env
env:
TZ: *timeZone
POD_NAMESPACE:
valueFrom:
Expand All @@ -57,29 +57,31 @@ spec:
"--port", "80",
"--config", "/config/config.yaml"
]
resources: &resources
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
resources:
requests:
cpu: 25m
limits:
memory: 256M
containers:
unregistered:
image: *image
env: *env
<<: *container
args: [
"prune",
"--exclude-category", "manual",
"--exclude-category", "music",
"--exclude-category", "music.import",
"--exclude-tag", "added:24h",
"--include-tag", "unregistered",
# "--dry-run",
"--server", "qbittorrent.$(POD_NAMESPACE).svc.cluster.local",
"--port", "80"
]
resources: *resources
expired:
image: *image
env: *env
<<: *container
args: [
"prune",
"--exclude-category", "manual",
Expand All @@ -91,7 +93,6 @@ spec:
"--server", "qbittorrent.$(POD_NAMESPACE).svc.cluster.local",
"--port", "80"
]
resources: *resources
pod:
restartPolicy: OnFailure
orphaned:
Expand All @@ -101,8 +102,7 @@ spec:
schedule: "@daily"
containers:
app:
image: *image
env: *env
<<: *container
args: [
"orphaned",
"--exclude-pattern", "*_unpackerred*",
Expand All @@ -112,21 +112,18 @@ spec:
"--server", "qbittorrent.$(POD_NAMESPACE).svc.cluster.local",
"--port", "80"
]
resources: *resources
pod:
restartPolicy: OnFailure
reannounce:
containers:
app:
image: *image
env: *env
<<: *container
args: [
"reannounce",
"--process-seeding",
"--server", "qbittorrent.$(POD_NAMESPACE).svc.cluster.local",
"--port", "80"
]
resources: *resources
defaultPodOptions:
securityContext:
runAsNonRoot: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Secret
metadata:
name: qbtools-secret
stringData:
config.yaml: ENC[AES256_GCM,data:q/FLjpMbyo9ZWImld/RR60bhiqAnBFZebVpvrbMJTK9uofeATcQvijmmCWm/4NFi4Dhgg7KhCltP+Fm7mMlNJaY9Iu1HM7S5grf9Vux1ggQZOxJe+a/KcYqSjS6zo2Brvi7Rh/0uUyxkQ+fyvPvX+ZKZxTYliFWtWXPTBNCa26EhbvxvRpOSocBxQgVnG5FDuX6bifFvrxMOM0dl0XdziV7hFS2F1ONX3m5uoOhDiLd8k7GMYtWKzNDYMRbZd0xuhPAOe3hLSM9wKZviK8cIEVFfckulh0bHcUJyEWckuunO3ozOEJguxPAC55eB6YrwmO1ysUPUEc63LI3gRoAWrli0cs145Pdkb9pQtozktb44ud1IsjW8WHpWjFwPWSNkLs6eJlNp639G17iJEmQChT2yKiSdi69TWoB4Tagw1Z6ojgIhVSIf8z9wxIHp8Ktpm/U1W/jrKpOAFDEXEgcNheklzL9dbJUzVv8JlOJ9XgxRGW/kkHW01UUkvgQzEcTScwCKiK0Olz/5TMCVzpA8fBVg8OJlh4Z4XRgEI+4Rzv7P2eEDf1JTR9IwxSW0kKoD9lEuXmQDzjZDCsGzLHjn9uAuZ3iNXiCJt9+ansI4Ng9Gm/lv6xpI3gXNMG0qQ8c8qvt0GpMxvPGd8I5IPV2BuUcjcA5hQxjOitvMtjAYqqlj3u/Py5vQSyWw+IYZ1HctdmJ9aQuBxvqbzmzbtV9MV/mF/GuniEOXsPsVUbKFod7/OVCZdu54a+i8tNfL6mNNUUhR7FrmWSEfPgq5XMtQWp+tjfyMyTBh0/oKILHqGnwwwzuzSEe19joMdVpHPF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91MStHaGRjNWxUUVBhZHB0c0UKaizAwI3zPrzFQCt9QxPlFi0jGSQQQiw6
len58lYQUVZvd1yrWPDPmRpk7mMLNex2gwqEHY/1SOMQ1MQpNQMyag==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-08-01T13:08:12Z"
mac: ENC[AES256_GCM,data:+bxZTasGdlZO4faBjRJaV1+g8FsU/S65GJhg6J7SsFZgRzWQuCOeiKti69EEunGt3d5z4aqfGat52COFoTKeI91P7KjIZtQlDbOsKVvEU70Rq6bHAo82dzDxMiGdfs1Nj0u7YnbAyxsbYcj5SQY8QtdVn71jwAmRbepUvrB6a/k=,iv:UaLc1IcvvEQTcHLx7xa7WoYz3RkvGywXaUme7ILamq4=,tag:Dhm1zLnBDq3ZFk3CTWHimQ==,type:str]
lastmodified: "2024-08-05T15:11:48Z"
mac: ENC[AES256_GCM,data:dLWAuep25EcP5N7IETaHIT48bmz8Huzq/3zwC3sOMbR+lfv2umw7xBqUkyyUlckJrURAi3Z2Elidmr7A7uIKuE618Kca++Xn3obFbx/GugVrBWatSTpGvy6iqSDEEOrzYZsE7f6rPixV2p/T2yjvgDpXy2Gno9imkEsesT7/eEQ=,iv:5wNLEY3olHozfW6og/9/4Q3s6nczKNbEvrYMkgi0o6o=,tag:p4/t7IWOUvvt1FG8NSkvRw==,type:str]
pgp: []
encrypted_regex: ^(data|stringData)$
mac_only_encrypted: true
Expand Down

0 comments on commit 368b23d

Please sign in to comment.