feat: remove miniflux ingressroute and add ingress
This commit is contained in:
parent
c1da779cbc
commit
b02b45baef
4 changed files with 23 additions and 33 deletions
|
|
@ -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
|
||||
|
|
|
|||
21
k8s/services/miniflux/ingress.yaml
Normal file
21
k8s/services/miniflux/ingress.yaml
Normal 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
|
||||
|
|
@ -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
|
||||
|
|
@ -78,7 +78,7 @@ module "miniflux" {
|
|||
client_id = var.miniflux_client_id
|
||||
client_secret = var.miniflux_client_secret
|
||||
app_access_group_id = ""
|
||||
redirect_uris = ["https://feeds.roboces.dev/oauth2/oidc/callback"]
|
||||
redirect_uris = ["https://feeds.roboces.dev/oauth2/oidc/callback", "https://feeds.fuku/oauth2/oidc/callback"]
|
||||
app_icon = "https://miniflux.app/favicon.ico"
|
||||
app_description = "RSS aggregator"
|
||||
app_publisher = "Miniflux"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue