Added miniflux
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
53557db2c7
commit
3e8eef8bd5
108
manifests/rss/miniflux.yaml
Normal file
108
manifests/rss/miniflux.yaml
Normal file
@ -0,0 +1,108 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: miniflux
|
||||
namespace: rss
|
||||
labels:
|
||||
app: miniflux
|
||||
annotations:
|
||||
kube-1password: yd26nod6hn2sww5aedfsv2j3te
|
||||
kube-1password/vault: Kubernetes
|
||||
kube-1password/secret-text-parse: "true"
|
||||
type: Opaque
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: miniflux
|
||||
namespace: rss
|
||||
labels:
|
||||
app: miniflux
|
||||
data:
|
||||
RUN_MIGRATIONS: "1"
|
||||
CREATE_ADMIN: "1"
|
||||
LOG_LEVEL: warning
|
||||
POLLING_FREQUENCY: "30"
|
||||
BASE_URL: "https://miniflux.cluster.fun/"
|
||||
METRICS_COLLECTOR: "1"
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: miniflux
|
||||
namespace: rss
|
||||
labels:
|
||||
app: miniflux
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8000
|
||||
name: web
|
||||
selector:
|
||||
app: miniflux
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: miniflux
|
||||
namespace: rss
|
||||
labels:
|
||||
app: miniflux
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app: miniflux
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: miniflux
|
||||
spec:
|
||||
containers:
|
||||
- name: web
|
||||
image: ghcr.io/miniflux/miniflux:2.0.49
|
||||
imagePullPolicy: IfNotPresent
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: miniflux
|
||||
- secretRef:
|
||||
name: miniflux
|
||||
env:
|
||||
- name: PORT
|
||||
value: "8080"
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: web
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: miniflux
|
||||
namespace: rss
|
||||
labels:
|
||||
app: miniflux
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt
|
||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
- hosts:
|
||||
- miniflux.cluster.fun
|
||||
secretName: miniflux-ingress
|
||||
rules:
|
||||
- host: miniflux.cluster.fun
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
backend:
|
||||
service:
|
||||
name: miniflux
|
||||
port:
|
||||
number: 80
|
||||
|
||||
---
|
Loading…
Reference in New Issue
Block a user