Files
truecharts/charts/stable/bitmagnet/values.yaml
T
Kjeld Schouten f8e33766bf feat(common): remove portal and ensure appUrl is used for notes.txt (#34047)
**Description**

This removes old portal references (from truenas times) from common and
notes.txt
Also ensures chartContext is used for notes.txt

Technically breaking in case any down-stream users use portal
configmap/data

⚒️ Fixes  #31880

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [x] 🔃 Refactor of current code
- [ ] 📜 Documentation Changes

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made changes to the documentation
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning
- [ ] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or
`fix(docs):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._

---------

Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
2025-04-07 22:04:57 +02:00

109 lines
2.8 KiB
YAML

image:
repository: ghcr.io/bitmagnet-io/bitmagnet
tag: v0.10.0@sha256:cf2c16fac5b51f1c18e630b4710175d35d7e44b83012cfd05a2b43712feec05e
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
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_datasource: "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