45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/ntfy
|
|
tag: v1.21.2@sha256:2726f62d04929a991174900a780e0e05d5ae6dfaba935a64ef8ba71968a3d792
|
|
pullPolicy: IfNotPresent
|
|
|
|
extraArgs: ["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
|
|
|
|
envFrom:
|
|
- configMapRef:
|
|
name: '{{ include "common.names.fullname" . }}-ntfy'
|
|
|
|
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 emtpy path
|
|
NTFY_ATTACHMENT_CACHE_DIR: "{{ ternary \"/var/cache/ntfy/attachments\" \"\" .Values.env.ENABLE_ATTACHMENT_CACHE_DIR }}"
|
|
NTFY_CACHE_FILE: "{{ ternary \"/var/cache/ntfy/cache.db\" \"\" .Values.env.ENABLE_CACHE_FILE }}"
|
|
NTFY_AUTH_FILE: "{{ ternary \"/etc/ntfy/user.db\" \"\" .Values.env.ENABLE_AUTH_FILE }}"
|
|
NTFY_FIREBASE_KEY_FILE: "{{ ternary \"/etc/ntfy/firebase-key.json\" \"\" .Values.env.ENABLE_FIREBASE_FILE }}"
|