From efc71c9f22e461c501740ed32723e09887dd58a5 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Sat, 14 Feb 2026 13:24:56 -0800 Subject: [PATCH] Add upstream relay config to ntfy for instant iOS push notifications Configures ntfy to forward poll requests through ntfy.sh for APNs delivery. Without this, iOS delays notifications by 20-30+ minutes. Free tier allows 250 messages/day (no account needed). Co-Authored-By: Claude Opus 4.6 --- argocd/manifests/ntfy/configmap.yaml | 9 +++++++++ argocd/manifests/ntfy/deployment.yaml | 8 +++++++- argocd/manifests/ntfy/kustomization.yaml | 1 + 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 argocd/manifests/ntfy/configmap.yaml diff --git a/argocd/manifests/ntfy/configmap.yaml b/argocd/manifests/ntfy/configmap.yaml new file mode 100644 index 0000000..a205db1 --- /dev/null +++ b/argocd/manifests/ntfy/configmap.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: ntfy-config + namespace: ntfy +data: + server.yml: | + base-url: https://ntfy.ops.eblu.me + upstream-base-url: https://ntfy.sh diff --git a/argocd/manifests/ntfy/deployment.yaml b/argocd/manifests/ntfy/deployment.yaml index 144e698..90c1f11 100644 --- a/argocd/manifests/ntfy/deployment.yaml +++ b/argocd/manifests/ntfy/deployment.yaml @@ -17,11 +17,14 @@ spec: containers: - name: ntfy image: binwiederhier/ntfy:v2.11.0 - args: ["serve"] + args: ["serve", "--config", "/etc/ntfy/server.yml"] ports: - containerPort: 80 name: http volumeMounts: + - name: config + mountPath: /etc/ntfy/server.yml + subPath: server.yml - name: cache mountPath: /var/cache/ntfy resources: @@ -44,5 +47,8 @@ spec: initialDelaySeconds: 3 periodSeconds: 10 volumes: + - name: config + configMap: + name: ntfy-config - name: cache emptyDir: {} diff --git a/argocd/manifests/ntfy/kustomization.yaml b/argocd/manifests/ntfy/kustomization.yaml index 3e73104..851171f 100644 --- a/argocd/manifests/ntfy/kustomization.yaml +++ b/argocd/manifests/ntfy/kustomization.yaml @@ -3,6 +3,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: ntfy resources: + - configmap.yaml - deployment.yaml - service.yaml - ingress-tailscale.yaml