Files
truecharts/charts/stable/ntfy/values.yaml
T
1e4e8318db feat(ntfy): Add nfty_upstream_base_url env var (#17314)
**Description**

Since I may want to you use this figure I may as well add it myself to
the defaults

⚒️ Fixes  #16919 

**⚙️ Type of change**

- [ ] ⚙️ 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:**

- [ ] ⚖️ 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 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
- [ ] ⬆️ 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>
2024-01-21 02:19:07 +02:00

106 lines
3.8 KiB
YAML

image:
repository: binwiederhier/ntfy
tag: v2.8.0@sha256:b8f8fb9ee044524d2baa303e5cfab4b3275378acf0b746bd9ace370a3b631a07
pullPolicy: IfNotPresent
service:
main:
ports:
main:
port: 10222
persistence:
config:
enabled: true
mountPath: "/etc/ntfy"
cache:
enabled: true
mountPath: "/var/cache/ntfy"
configmap:
ntfy:
enabled: true
data:
# If a path is set, it enables this options. To disable set to empty path
NTFY_ATTACHMENT_CACHE_DIR: '{{ ternary "/var/cache/ntfy/attachments" "" .Values.workload.main.podSpec.containers.main.env.ENABLE_ATTACHMENT_CACHE_DIR }}'
NTFY_CACHE_FILE: '{{ ternary "/var/cache/ntfy/cache.db" "" .Values.workload.main.podSpec.containers.main.env.ENABLE_CACHE_FILE }}'
NTFY_AUTH_FILE: '{{ ternary "/etc/ntfy/user.db" "" .Values.workload.main.podSpec.containers.main.env.ENABLE_AUTH_FILE }}'
NTFY_FIREBASE_KEY_FILE: '{{ ternary "/etc/ntfy/firebase-key.json" "" .Values.workload.main.podSpec.containers.main.env.ENABLE_FIREBASE_FILE }}'
portal:
open:
enabled: true
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
type: tcp
readiness:
type: tcp
startup:
type: tcp
args:
- "serve"
env:
NTFY_LISTEN_HTTP: ":{{ .Values.service.main.ports.main.port }}"
# User Defined
NTFY_BASE_URL: "http://localhost:10222"
NTFY_BEHIND_PROXY: false
ENABLE_FIREBASE_FILE: false
ENABLE_CACHE_FILE: false
ENABLE_ATTACHMENT_CACHE_DIR: false
ENABLE_AUTH_FILE: false
NTFY_ENABLE_METRICS: "{{ .Values.metrics.main.enabled }}"
NTFY_UPSTREAM_BASE_URL: "https://ntfy.sh"
# NTFY_CACHE_DURATION: "12h"
# NTFY_KEEPALIVE_INTERVAL: "45s"
# NTFY_MANAGER_INTERVAL: "1m"
# NTFY_GLOBAL_TOPIC_LIMIT: 15000
# NTFY_VISITOR_SUBSCRIPTION_LIMIT: 30
# NTFY_VISITOR_ATTACHMENT_TOTAL_SIZE_LIMIT: "100M"
# NTFY_VISITOR_ATTACHMENT_DAILY_BANDWIDTH_LIMIT: "500M"
# NTFY_VISITOR_REQUEST_LIMIT_BURST: 60
# NTFY_VISITOR_REQUEST_LIMIT_REPLENISH: "5s"
# NTFY_VISITOR_REQUEST_LIMIT_EXEMPT_HOSTS: ""
# NTFY_VISITOR_EMAIL_LIMIT_BURST: 16
# NTFY_VISITOR_EMAIL_LIMIT_REPLENISH: "1h"
# NTFY_ATTACHMENT_TOTAL_SIZE_LIMIT: "5G"
# NTFY_ATTACHMENT_FILE_SIZE_LIMIT: "15M"
# NTFY_ATTACHMENT_EXPIRY_DURATION: "3h"
# NTFY_AUTH_DEFAULT_ACCESS: "read-write"
# NTFY_SMTP_SENDER_ADDR: ""
# NTFY_SMTP_SENDER_USER: ""
# NTFY_SMTP_SENDER_PASS: ""
# NTFY_SMTP_SENDER_FROM: ""
# NTFY_SMTP_SERVER_LISTEN: ""
# NTFY_SMTP_SERVER_DOMAIN: ""
# NTFY_SMTP_SERVER_ADDR_PREFIX: ""
envFrom:
- configMapRef:
name: "ntfy"
metrics:
main:
# -- Enable and configure a Prometheus serviceMonitor for the chart under this key.
# @default -- See values.yaml
enabled: false
type: "servicemonitor"
endpoints:
- port: main
path: /metrics
# -- Enable and configure Prometheus Rules for the chart under this key.
# @default -- See values.yaml
prometheusRule:
enabled: false
labels: {}
# -- Configure additionial rules for the chart under this key.
# @default -- See prometheusrules.yaml
rules: []
# - alert: UnifiPollerAbsent
# annotations:
# description: Unifi Poller has disappeared from Prometheus service discovery.
# summary: Unifi Poller is down.
# expr: |
# absent(up{job=~".*unifi-poller.*"} == 1)
# for: 5m
# labels:
# severity: critical