summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-08-08 21:49:35 +0300
committerPaul Buetow <paul@buetow.org>2025-08-08 21:49:35 +0300
commitad81b9b4c74f03029864c7859f9c2662d2cfbefb (patch)
treef44ba93bb310ccc92b444bde55a18155335a9560
parent302a2caa47e3fae1b99063e9d8ac851a6f9067b4 (diff)
rename
-rw-r--r--f3s/miniflux/helm-chart/templates/deployment.yaml20
-rw-r--r--f3s/miniflux/helm-chart/templates/service.yaml2
2 files changed, 17 insertions, 5 deletions
diff --git a/f3s/miniflux/helm-chart/templates/deployment.yaml b/f3s/miniflux/helm-chart/templates/deployment.yaml
index 124e33b..08647a7 100644
--- a/f3s/miniflux/helm-chart/templates/deployment.yaml
+++ b/f3s/miniflux/helm-chart/templates/deployment.yaml
@@ -1,19 +1,31 @@
apiVersion: apps/v1
kind: Deployment
metadata:
- name: miniflux
+ name: miniflux-server
labels:
- app: miniflux
+ app: miniflux-server
spec:
replicas: 1
selector:
matchLabels:
- app: miniflux
+ app: miniflux-server
template:
metadata:
labels:
- app: miniflux
+ app: miniflux-server
spec:
+ initContainers:
+ - name: wait-for-postgres
+ image: postgres:17
+ command: ["/bin/sh", "-c"]
+ args:
+ - |
+ echo "Waiting for Postgres at miniflux-postgres:5432...";
+ until pg_isready -h miniflux-postgres -p 5432 -U miniflux; do
+ echo "Postgres not ready, sleeping...";
+ sleep 2;
+ done;
+ echo "Postgres is ready."
containers:
- name: miniflux
image: miniflux/miniflux:latest
diff --git a/f3s/miniflux/helm-chart/templates/service.yaml b/f3s/miniflux/helm-chart/templates/service.yaml
index ef1ce97..6855888 100644
--- a/f3s/miniflux/helm-chart/templates/service.yaml
+++ b/f3s/miniflux/helm-chart/templates/service.yaml
@@ -4,7 +4,7 @@ metadata:
name: miniflux
spec:
selector:
- app: miniflux
+ app: miniflux-server
ports:
- protocol: TCP
port: 8080