This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
gitops-tbrnt/miniflux/app/deployment.yaml

46 lines
966 B
YAML
Raw Normal View History

2021-08-27 18:32:20 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: miniflux
name: miniflux
spec:
replicas: 1
selector:
matchLabels:
2021-08-27 18:48:21 +00:00
app: miniflux
2021-08-27 18:32:20 +00:00
strategy:
type: Recreate
template:
metadata:
labels:
2021-08-27 18:48:21 +00:00
app: miniflux
2021-08-27 18:32:20 +00:00
spec:
containers:
- image: docker.io/miniflux/miniflux:2.0.34
2021-08-27 18:48:21 +00:00
name: miniflux
2021-08-27 19:00:29 +00:00
env:
- name: BASE_URL
value: https://miniflux.tbrnt.ch
- name: METRICS_COLLECTOR
value: "1"
- name: METRICS_ALLOWED_NETWORKS
value: "0.0.0.0/0"
2021-08-27 18:35:27 +00:00
envFrom:
2021-08-27 18:32:20 +00:00
- secretRef:
name: miniflux
ports:
- containerPort: 8080
livenessProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 15
periodSeconds: 10
readinessProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 15
periodSeconds: 10