catalog/incubator/ntfy/0.0.2/ix_values.yaml

45 lines
1.3 KiB
YAML

image:
repository: binwiederhier/ntfy
tag: v1.20.0@sha256:d2d0b523ae0656d58df5c2681016d2af384917232dbbfa9f252f117741199227
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 }}"