feat: remove miniflux ingressroute and add ingress

This commit is contained in:
cătălin 2024-03-25 12:33:56 +01:00
commit b02b45baef
No known key found for this signature in database
4 changed files with 23 additions and 33 deletions

View file

@ -22,3 +22,4 @@ spec:
- https://sqljames.github.io/factorio-server-charts/
- https://portainer.github.io/k8s/
- https://charts.bitnami.com/bitnami
- https://charts.crystalnet.org

View file

@ -0,0 +1,21 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: miniflux
namespace: apps-roboces
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: traefik
rules:
- host: feeds.roboces.dev
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: miniflux-service
port:
number: 8888

View file

@ -1,32 +0,0 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: miniflux
namespace: apps-roboces
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: web, websecure
spec:
entryPoints:
- websecure
- web
routes:
- kind: Rule
match: Host(`feeds.roboces.dev`)
services:
- name: miniflux-service
port: 8888
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: miniflux-local
namespace: apps-roboces
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`feeds.fuku`)
services:
- name: miniflux-service
port: 8888