* chore(questions): replace port parts with templates * chore(questions): replace controller parts with templates * remove tons of whitespce * remove quotes from strings on templates * make complete controller an include * default to recreate * remove replica and strategies as it's covered from controllerStrtegies include * remove whitespace again * replace controllertype with include (deployment/daemonset/statefulset) * replace advanced port part except targetport * remove more quotes * add hidden toggle of enable the port * new includes * update build script * controller deploy/stateful/deamon template changes * replace controllerStrategies with replicas, replica#, strategy, recreate * move 2 templates into a subfolder * remove quotes * remove disabled portals from questions and defined them on values * remove enabled portal from the questions and add it on values * one more app * Portal cleanup * remove portal templates * add more includes * replace portal links * move some templates in folders * replace ingressRoot with template * more grouping * replace persistenceroot with template * replace serviceExpertRoot * replace serviceroot * fix a rogue one * vctRoot * securityContext cleanup * remove quotes from templates on string * replace vctRoot * replace advanedSecurityRoot * replace podsecurity root * Update .github/scripts/build-catalog.sh * Update values.yaml * remove dupe portal * update build-release script * fix paths * fix apps with imageSelector Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
71 lines
2.2 KiB
YAML
71 lines
2.2 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/ntfy
|
|
tag: v1.27.2@sha256:4c8b53a318db70e2ff0dc39969e33320b7ae52eac23f0f4697486834d12e23cd
|
|
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
|
|
# 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: '{{ include "tc.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 }}'
|
|
|
|
portal:
|
|
enabled: true
|