Files
truecharts/charts/stable/sonarr/values.yaml
T
Xstar97TheNoob 630d4abb5a feat(sonarr) allow the user to disable exportarr (#10743)
**Description**
Give the user the ability to disable exportarr by disabling metrics
itself
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

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

**🧪 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:**

- [X] ⚖️ My code follows the style guidelines of this project
- [X] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [X] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

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

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ 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: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2023-07-22 19:44:47 +03:00

129 lines
3.4 KiB
YAML

image:
repository: tccr.io/truecharts/sonarr
pullPolicy: IfNotPresent
tag: 3.0.10.1567@sha256:f420ed0b9341a5241c2278d51a7f4f59635a9c3a5670ac893542fa59052e61b2
exportarrImage:
repository: tccr.io/truecharts/exportarr
pullPolicy: IfNotPresent
tag: v1.5.3@sha256:f369a43b28410f12ce1b96f52187dd5c6fb9769a137ecc6f7ab8fdcfbe7db58e
service:
main:
ports:
main:
port: 8989
metrics:
enabled: true
type: ClusterIP
targetSelector: exportarr
ports:
metrics:
enabled: true
port: 8990
targetSelector: exportarr
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
enabled: true
type: http
path: /ping
readiness:
enabled: true
type: http
path: /ping
startup:
enabled: true
type: http
path: /ping
env:
SONARR__PORT: "{{ .Values.service.main.ports.main.port }}"
SONARR__AUTHENTICATION_METHOD: ""
# Enable postgres if v4 of sonarr supports it.
# SONARR__POSTGRES_PORT: 5432
# SONARR__POSTGRES_USER: "{{ .Values.cnpg.main.user }}"
# SONARR__POSTGRES_MAIN_DB: "{{ .Values.cnpg.main.database }}"
# SONARR__POSTGRES_HOST:
# secretKeyRef:
# name: cnpg-main-urls
# key: host
# SONARR__POSTGRES_PASSWORD:
# secretKeyRef:
# name: cnpg-main-urls
# key: password
exportarr:
enabled: true
type: Deployment
strategy: RollingUpdate
replicas: 1
podSpec:
containers:
exportarr:
primary: true
enabled: true
imageSelector: exportarrImage
args:
- sonarr
probes:
liveness:
enabled: true
type: http
path: /healthz
port: "{{ .Values.service.metrics.ports.metrics.port }}"
readiness:
enabled: true
type: http
path: /healthz
port: "{{ .Values.service.metrics.ports.metrics.port }}"
startup:
enabled: true
type: http
path: /healthz
port: "{{ .Values.service.metrics.ports.metrics.port }}"
env:
INTERFACE: 0.0.0.0
PORT: "{{ .Values.service.metrics.ports.metrics.port }}"
URL: '{{ printf "http://%v:%v" (include "tc.v1.common.lib.chart.names.fullname" $) .Values.service.main.ports.main.port }}'
# additional metrics (slow)
# ENABLE_ADDITIONAL_METRICS: false
# enable gathering unknown queue items
# ENABLE_UNKNOWN_QUEUE_ITEMS: false
CONFIG: "/config/config.xml"
persistence:
config:
enabled: true
targetSelector:
main:
main:
mountPath: /config
exportarr:
exportarr:
mountPath: /config
readOnly: true
# might be supported on sonarr v4 upon released
cnpg:
main:
enabled: false
database: sonarr
user: sonarr
metrics:
main:
enabled: true
type: "servicemonitor"
endpoints:
- port: metrics
path: /metrics
prometheusRule:
enabled: false
portal:
open:
enabled: true