-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathminiflux.yaml
58 lines (58 loc) · 1.1 KB
/
miniflux.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
apiVersion: v1
kind: Namespace
metadata:
name: miniflux
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: miniflux
namespace: miniflux
spec:
strategy:
type: Recreate
selector:
matchLabels:
app: miniflux
replicas: 1
template:
metadata:
labels:
app: miniflux
spec:
containers:
- name: miniflux
image: miniflux/miniflux:2.1.1
ports:
- containerPort: 8080
name: http-web-svc
envFrom:
- secretRef:
name: miniflux-db-secret
env:
- name: RUN_MIGRATIONS
value: "1"
- name: BASE_URL
value: https://miniflux.jibby.org
livenessProbe:
exec:
command: ["/usr/bin/miniflux", "-healthcheck", "auto"]
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 5
---
apiVersion: v1
kind: Service
metadata:
name: miniflux-service
namespace: miniflux
spec:
selector:
app: miniflux
type: ClusterIP
ports:
- name: miniflux-web-port
protocol: TCP
port: 8080
targetPort: http-web-svc