c2ed712b91
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/bitmagnet-io/bitmagnet](https://togithub.com/bitmagnet-io/bitmagnet) | patch | `v0.9.3` -> `v0.9.5` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>bitmagnet-io/bitmagnet (ghcr.io/bitmagnet-io/bitmagnet)</summary> ### [`v0.9.5`](https://togithub.com/bitmagnet-io/bitmagnet/releases/tag/v0.9.5) [Compare Source](https://togithub.com/bitmagnet-io/bitmagnet/compare/v0.9.4...v0.9.5) Allow rate limit "burst" for TMDB API when using the default API key, allowing the limit to average to 1 second with a lot less blocking, which became more important as the default queue concurrency was reduced to 1. #### What's Changed - Increase rate limit burst when using default TMDB API key by [@​mgdigital](https://togithub.com/mgdigital) in [https://github.com/bitmagnet-io/bitmagnet/pull/296](https://togithub.com/bitmagnet-io/bitmagnet/pull/296) **Full Changelog**: https://github.com/bitmagnet-io/bitmagnet/compare/v0.9.4...v0.9.5 ### [`v0.9.4`](https://togithub.com/bitmagnet-io/bitmagnet/releases/tag/v0.9.4) [Compare Source](https://togithub.com/bitmagnet-io/bitmagnet/compare/v0.9.3...v0.9.4) This release includes 2 optimizations that should reduce the load that queue jobs place on the database, including for the 0.9.0 upgrade job. It should also reduce instances of `ERROR: canceling statement due to user request` in the Postgres logs, but note that Bitmagnet does cancel some database queries because it sometimes tries 2 query strategies in a race and cancels the slowest one, so this message doesn't indicate a problem. #### What's Changed - Add local_search_enabled flag to classifier by [@​mgdigital](https://togithub.com/mgdigital) in [https://github.com/bitmagnet-io/bitmagnet/pull/291](https://togithub.com/bitmagnet-io/bitmagnet/pull/291) - Reduce CTE strategy usage when not needed by [@​mgdigital](https://togithub.com/mgdigital) in [https://github.com/bitmagnet-io/bitmagnet/pull/292](https://togithub.com/bitmagnet-io/bitmagnet/pull/292) **Full Changelog**: https://github.com/bitmagnet-io/bitmagnet/compare/v0.9.3...v0.9.4 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNiIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC42IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInVwZGF0ZS9kb2NrZXIvZ2VuZXJhbC9ub24tbWFqb3IiXX0=-->
111 lines
2.9 KiB
YAML
111 lines
2.9 KiB
YAML
image:
|
|
repository: ghcr.io/bitmagnet-io/bitmagnet
|
|
tag: v0.9.5@sha256:7bf46883d18c520616cd8d11a08a29be2f49e7295843742c9cb363b499239b25
|
|
pullPolicy: IfNotPresent
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 3333
|
|
targetPort: 3333
|
|
torrent:
|
|
enabled: true
|
|
ports:
|
|
tcp:
|
|
enabled: true
|
|
port: 3334
|
|
targetPort: 3334
|
|
protocol: tcp
|
|
udp:
|
|
enabled: true
|
|
port: "{{ .Values.service.torrent.ports.tcp.port }}"
|
|
targetPort: "{{ .Values.service.torrent.ports.tcp.targetPort }}"
|
|
protocol: udp
|
|
cnpg:
|
|
main:
|
|
enabled: true
|
|
user: bitmagnet
|
|
database: bitmagnet
|
|
portal:
|
|
open:
|
|
enabled: true
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
env:
|
|
POSTGRES_NAME: "{{ .Values.cnpg.main.database }}"
|
|
POSTGRES_USER: "{{ .Values.cnpg.main.user }}"
|
|
POSTGRES_PASSWORD:
|
|
secretKeyRef:
|
|
name: cnpg-main-user
|
|
key: password
|
|
POSTGRES_HOST:
|
|
secretKeyRef:
|
|
name: cnpg-main-urls
|
|
key: host
|
|
TMDB_API_KEY: ""
|
|
DHT_CRAWLER_SAVE_FILES_THRESHOLD: "100"
|
|
args:
|
|
- worker
|
|
- run
|
|
- --all
|
|
probes:
|
|
readiness:
|
|
enabled: true
|
|
type: http
|
|
path: /status
|
|
liveness:
|
|
enabled: true
|
|
type: http
|
|
path: /status
|
|
startup:
|
|
enabled: true
|
|
type: http
|
|
path: /status
|
|
metrics:
|
|
main:
|
|
enabled: true
|
|
type: "servicemonitor"
|
|
endpoints:
|
|
- port: main
|
|
path: /metrics
|
|
targetSelector: main
|
|
prometheusRule:
|
|
enabled: false
|
|
|
|
configmap:
|
|
dashboard:
|
|
enabled: true
|
|
labels:
|
|
grafana_dashboard: "1"
|
|
data:
|
|
bitmagnet.json: >-
|
|
{{ .Files.Get "dashboard.json" | indent 8 }}
|
|
datasource:
|
|
enabled: true
|
|
labels:
|
|
grafana_datasources: "1"
|
|
data:
|
|
bitmagnetpsql.yaml: |-
|
|
apiVersion: 1
|
|
datasources:
|
|
- name: BitmagnetPostgres
|
|
type: postgres
|
|
uid: bitmagnetpostgres
|
|
url: {{ printf "%s.%s:5432" (.Values.cnpg.main.creds.host | trimAll "\"") .Release.Namespace }}
|
|
access: proxy
|
|
user: {{ .Values.cnpg.main.user }}
|
|
secureJsonData:
|
|
password: {{ .Values.cnpg.main.creds.password | default "na" }}
|
|
jsonData:
|
|
database: {{ .Values.cnpg.main.database }}
|
|
sslmode: 'disable' # disable/require/verify-ca/verify-full
|
|
maxOpenConns: 100 # Grafana v5.4+
|
|
maxIdleConns: 100 # Grafana v5.4+
|
|
maxIdleConnsAuto: true # Grafana v9.5.1+
|
|
connMaxLifetime: 14400 # Grafana v5.4+
|
|
postgresVersion: 1500 # 903=9.3, 904=9.4, 905=9.5, 906=9.6, 1000=10
|
|
timescaledb: false
|