Files
infrastructure/clusters/cl01tl/platform/ntfy/values.yaml
Renovate Bot 69b7eda229
All checks were successful
lint-test-helm / helm-lint (push) Successful in 8s
renovate / renovate (push) Successful in 1m25s
Update binwiederhier/ntfy Docker tag to v2.15.0 (#2051)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [binwiederhier/ntfy](https://ntfy.sh/) ([source](https://github.com/binwiederhier/ntfy)) | minor | `v2.14.0` -> `v2.15.0` |

---

### Release Notes

<details>
<summary>binwiederhier/ntfy (binwiederhier/ntfy)</summary>

### [`v2.15.0`](https://github.com/binwiederhier/ntfy/releases/tag/v2.15.0)

[Compare Source](https://github.com/binwiederhier/ntfy/compare/v2.14.0...v2.15.0)

This release adds a `require-login` flag to topics, which forces users to log in before they can use the web app. This is useful for self-hosters and will obviously not be enabled on ntfy.sh.

**Features:**

- Add `require-login` flag to redirect to login page if not logged in ([#&#8203;1434](https://github.com/binwiederhier/ntfy/pull/1434)/[#&#8203;238](https://github.com/binwiederhier/ntfy/issues/238)/[#&#8203;1329](https://github.com/binwiederhier/ntfy/pull/1329), thanks to [@&#8203;theatischbein](https://github.com/theatischbein) for implementing most of this)

**Bug fixes + maintenance:**

- The official ntfy.sh Debian/Ubuntu repository has moved to [archive.ntfy.sh](https://archive.ntfy.sh) ([#&#8203;1357](https://github.com/binwiederhier/ntfy/issues/1357)/[#&#8203;1401](https://github.com/binwiederhier/ntfy/issues/1401), thanks to [@&#8203;skibbipl](https://github.com/skibbipl) and [@&#8203;lduesing](https://github.com/lduesing) for reporting)
- Add mutex around message cache writes to avoid `database locked` errors ([#&#8203;1397](https://github.com/binwiederhier/ntfy/pull/1397), [#&#8203;1391](https://github.com/binwiederhier/ntfy/issues/1391), thanks to [@&#8203;timofej673](https://github.com/timofej673))
- Add build tags `nopayments`, `nofirebase` and `nowebpush` to allow excluding external dependencies, useful for
  packaging in Debian ([#&#8203;1420](https://github.com/binwiederhier/ntfy/pull/1420), discussion in [#&#8203;1258](https://github.com/binwiederhier/ntfy/issues/1258), thanks to [@&#8203;thekhalifa](https://github.com/thekhalifa) for packaging ntfy for Debian/Ubuntu)
- Make copying tokens, phone numbers, etc. possible on HTTP ([#&#8203;1432](https://github.com/binwiederhier/ntfy/pull/1432)/[#&#8203;1408](https://github.com/binwiederhier/ntfy/issues/1408)/[#&#8203;1295](https://github.com/binwiederhier/ntfy/issues/1295), thanks to [@&#8203;EdwinKM](https://github.com/EdwinKM), [@&#8203;xxl6097](https://github.com/xxl6097) for reporting)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, 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://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi41LjAiLCJ1cGRhdGVkSW5WZXIiOiI0Mi41LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImltYWdlIl19-->

Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/2051
Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net>
Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
2025-11-17 19:36:32 +00:00

111 lines
3.3 KiB
YAML

ntfy:
controllers:
main:
type: deployment
replicas: 1
strategy: Recreate
revisionHistoryLimit: 3
containers:
main:
image:
repository: binwiederhier/ntfy
tag: v2.15.0
pullPolicy: IfNotPresent
args: ["serve"]
env:
- name: TZ
value: US/Central
- name: NTFY_BASE_URL
value: https://ntfy.alexlebens.net
- name: NTFY_LISTEN_HTTP
value: :80
- name: NTFY_CACHE_FILE
value: /var/cache/ntfy/cache.db
- name: NTFY_CACHE_DURATION
value: 36h
- name: NTFY_CACHE_STARTUP_QUERIES
value: |
pragma journal_mode = WAL;
pragma synchronous = normal;
pragma temp_store = memory;
pragma busy_timeout = 15000;
vacuum;
- name: NTFY_BEHIND_PROXY
value: true
- name: NTFY_ATTACHMENT_CACHE_DIR
value: /var/cache/ntfy/attachments
- name: NTFY_ATTACHMENT_TOTAL_SIZE_LIMIT
value: 4G
- name: NTFY_ATTACHMENT_FILE_SIZE_LIMIT
value: 15M
- name: NTFY_ATTACHMENT_EXPIRY_DURATION
value: 36h
- name: NTFY_ENABLE_SIGNUP
value: false
- name: NTFY_ENABLE_LOGIN
value: true
- name: NTFY_ENABLE_RESERVATIONS
value: false
# - name: NTFY_UPSTREAM_BASE_URL
# value: https://ntfy.sh
- name: NTFY_AUTH_FILE
value: /var/cache/ntfy/user.db
- name: NTFY_AUTH_DEFAULT_ACCESS
value: deny-all
# - name: NTFY_UPSTREAM_ACCESS_TOKEN
# value: ""
# - name: NTFY_WEB_PUSH_PUBLIC_KEY
# value: ""
# - name: NTFY_WEB_PUSH_PRIVATE_KEY
# value: ""
# - name: NTFY_WEB_PUSH_FILE
# value: /var/lib/ntfy/webpush.db
# - name: NTFY_WEB_PUSH_EMAIL_ADDRESS
# value: ""
- name: NTFY_METRICS_LISTEN_HTTP
value: :9090
- name: NTFY_LOG_LEVEL
value: info
probes:
liveness:
enabled: false
custom: true
spec:
exec:
command:
- /usr/bin/env
- sh
- -c
- wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1
failureThreshold: 10
initialDelaySeconds: 60
periodSeconds: 60
successThreshold: 1
timeoutSeconds: 30
resources:
requests:
cpu: 10m
memory: 128Mi
service:
main:
controller: main
ports:
http:
port: 80
targetPort: 80
protocol: HTTP
metrics:
port: 9090
targetPort: 9090
protocol: HTTP
persistence:
cache:
storageClass: ceph-block
accessMode: ReadWriteOnce
size: 5Gi
advancedMounts:
main:
main:
- path: /var/cache/ntfy
readOnly: false