Fix(miniflux): add service and ingress

This commit is contained in:
2025-10-04 20:01:04 +08:00
parent b23ab1576a
commit 547b8727c5
3 changed files with 35 additions and 0 deletions

18
miniflux/ingress.yaml Normal file
View File

@@ -0,0 +1,18 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: miniflux
spec:
ingressClassName: traefik-prod
rules:
- host: "rss.konchin.com"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: miniflux
port:
number: 8080

View File

@@ -9,6 +9,8 @@ generatorOptions:
resources:
- namespace.yaml
- deploy.yaml
- ingress.yaml
- service.yaml
- secret.yaml
configMapGenerator:

15
miniflux/service.yaml Normal file
View File

@@ -0,0 +1,15 @@
---
apiVersion: v1
kind: Service
metadata:
name: miniflux
labels:
app: miniflux
spec:
type: ClusterIP
selector:
app: miniflux
ports:
- name: http
port: 8080
targetPort: 8080