diff options
| -rw-r--r-- | f3s/miniflux/helm-chart/templates/deployment.yaml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/f3s/miniflux/helm-chart/templates/deployment.yaml b/f3s/miniflux/helm-chart/templates/deployment.yaml index 08647a7..5a98459 100644 --- a/f3s/miniflux/helm-chart/templates/deployment.yaml +++ b/f3s/miniflux/helm-chart/templates/deployment.yaml @@ -53,6 +53,18 @@ spec: command: ["/bin/sh", "-c"] args: - export DATABASE_URL="postgres://miniflux:${POSTGRES_PASSWORD}@miniflux-postgres:5432/miniflux?sslmode=disable"; exec /usr/bin/miniflux + livenessProbe: + httpGet: + path: /healthcheck + port: 8080 + initialDelaySeconds: 60 + periodSeconds: 30 + readinessProbe: + httpGet: + path: /healthcheck + port: 8080 + initialDelaySeconds: 15 + periodSeconds: 15 --- apiVersion: apps/v1 kind: Deployment @@ -86,6 +98,23 @@ spec: volumeMounts: - name: miniflux-postgres-data mountPath: /var/lib/postgresql/data + livenessProbe: + exec: + command: + - pg_isready + - -U + - miniflux + initialDelaySeconds: 60 + periodSeconds: 30 + readinessProbe: + exec: + command: + - pg_isready + - -U + - miniflux + initialDelaySeconds: 15 + periodSeconds: 15 + volumes: - name: miniflux-postgres-data persistentVolumeClaim: |
