Fix(miniflux): add service and ingress
This commit is contained in:
18
miniflux/ingress.yaml
Normal file
18
miniflux/ingress.yaml
Normal 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
|
||||||
@@ -9,6 +9,8 @@ generatorOptions:
|
|||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- deploy.yaml
|
- deploy.yaml
|
||||||
|
- ingress.yaml
|
||||||
|
- service.yaml
|
||||||
- secret.yaml
|
- secret.yaml
|
||||||
|
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
|
|||||||
15
miniflux/service.yaml
Normal file
15
miniflux/service.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user