This PR contains the following updates: | Package | Update | Change | |---|---|---| | [binwiederhier/ntfy](https://ntfy.sh/) ([source](https://github.com/binwiederhier/ntfy)) | minor | `v2.13.0` -> `v2.14.0` | --- ### Release Notes <details> <summary>binwiederhier/ntfy (binwiederhier/ntfy)</summary> ### [`v2.14.0`](https://github.com/binwiederhier/ntfy/releases/tag/v2.14.0) [Compare Source](https://github.com/binwiederhier/ntfy/compare/v2.13.0...v2.14.0) This release adds support for [declarative users](https://docs.ntfy.sh/config/#users-via-the-config), [declarative ACL entries](https://docs.ntfy.sh/config/#acl-entries-via-the-config) and [declarative tokens](https://docs.ntfy.sh/config/#tokens-via-the-config). This allows you to define users, ACL entries and tokens in the config file, which is useful for static deployments or deployments that use a configuration management system. It also adds support for [pre-defined templates](https://docs.ntfy.sh/publish/#pre-defined-templates) and [custom templates](https://docs.ntfy.sh/publish/#custom-templates) for enhanced JSON webhook support, as well as advanced [template functions](https://docs.ntfy.sh/publish/#template-functions) based on the [Sprig](https://github.com/Masterminds/sprig) functions. ❤️ If you like ntfy, **please consider sponsoring me** via [GitHub Sponsors](https://github.com/sponsors/binwiederhier), [Liberapay](https://en.liberapay.com/ntfy/), Bitcoin (`1626wjrw3uWk9adyjCfYwafw4sQWujyjn8`), or by buying a [paid plan via the web app](https://ntfy.sh/app). ntfy will always remain open source. **Features:** - [Declarative users](https://docs.ntfy.sh/config/#users-via-the-config), [declarative ACL entries](https://docs.ntfy.sh/config/#acl-entries-via-the-config) and [declarative tokens](https://docs.ntfy.sh/config/#tokens-via-the-config) ([#​464](https://github.com/binwiederhier/ntfy/issues/464), [#​1384](https://github.com/binwiederhier/ntfy/issues/1384), [#​1413](https://github.com/binwiederhier/ntfy/issues/1413), thanks to pinpox for reporting, to [@​wunter8](https://github.com/wunter8) for reviewing and implementing parts of it) - [Pre-defined templates](https://docs.ntfy.sh/publish/#pre-defined-templates) and [custom templates](https://docs.ntfy.sh/publish/#custom-templates) for enhanced JSON webhook support ([#​1390](https://github.com/binwiederhier/ntfy/issues/1390)) - Support of advanced [template functions](https://docs.ntfy.sh/publish/#template-functions) based on the [Sprig](https://github.com/Masterminds/sprig) library ([#​1121](https://github.com/binwiederhier/ntfy/issues/1121), thanks to [@​davidatkinsondoyle](https://github.com/davidatkinsondoyle) for reporting, to [@​wunter8](https://github.com/wunter8) for implementing, and to the Sprig team for their work) </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:eyJjcmVhdGVkSW5WZXIiOiI0MS4xLjMiLCJ1cGRhdGVkSW5WZXIiOiI0MS4xLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImltYWdlIl19--> Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/1137 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
		
			
				
	
	
		
			111 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			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.14.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
 |