2023-10-22 14:24:33 +00:00
|
|
|
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"
|
2023-10-22 14:28:48 +00:00
|
|
|
LOG_LEVEL: info
|
2023-10-23 16:33:46 +00:00
|
|
|
POLLING_FREQUENCY: "15"
|
2023-10-22 14:24:33 +00:00
|
|
|
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
|
2023-10-22 14:29:11 +00:00
|
|
|
targetPort: web
|
2023-10-22 14:24:33 +00:00
|
|
|
name: web
|
|
|
|
selector:
|
|
|
|
app: miniflux
|
|
|
|
---
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: miniflux
|
|
|
|
namespace: rss
|
|
|
|
labels:
|
|
|
|
app: miniflux
|
2023-10-22 14:30:39 +00:00
|
|
|
annotations:
|
|
|
|
secret.reloader.stakater.com/reload: "miniflux"
|
|
|
|
configmap.reloader.stakater.com/reload: "miniflux"
|
2023-10-22 14:24:33 +00:00
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
strategy:
|
|
|
|
type: Recreate
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: miniflux
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: miniflux
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: web
|
2024-02-18 00:01:57 +00:00
|
|
|
image: ghcr.io/miniflux/miniflux:2.1.0
|
2023-10-22 14:24:33 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
---
|