feat: enable ntfy with postgres
All checks were successful
lint-test-helm / lint-helm (pull_request) Successful in 55s
lint-test-helm / validate-kubeconform (pull_request) Successful in 38s

This commit is contained in:
2026-04-04 20:15:51 -05:00
parent 4fed8e1ba6
commit 714d6e4196

View File

@@ -2,7 +2,7 @@ ntfy:
controllers:
main:
type: deployment
replicas: 0
replicas: 1
strategy: Recreate
containers:
main:
@@ -21,11 +21,11 @@ ntfy:
value: 36h
- name: NTFY_BEHIND_PROXY
value: true
# - name: NTFY_DATABASE_URL
# valueFrom:
# secretKeyRef:
# name: ntfy-postgresql-18-cluster-app
# key: uri
- name: NTFY_DATABASE_URL
valueFrom:
secretKeyRef:
name: ntfy-postgresql-18-cluster-app
key: uri
- name: NTFY_ATTACHMENT_CACHE_DIR
valueFrom:
secretKeyRef:
@@ -65,22 +65,6 @@ ntfy:
requests:
cpu: 10m
memory: 40Mi
debug:
type: deployment
replicas: 1
strategy: Recreate
containers:
main:
image:
repository: ubuntu
tag: resolute
command:
- "sleep"
- "infinity"
resources:
requests:
cpu: 10m
memory: 32Mi
service:
main:
controller: main
@@ -131,10 +115,6 @@ ntfy:
main:
- path: /var/cache/ntfy
readOnly: false
debug:
main:
- path: /var/cache/ntfy
readOnly: true
postgres-18-cluster:
mode: recovery
recovery: