new routes, remove web front
This commit is contained in:
parent
169fc2e2b6
commit
0109d2c4e7
@ -1,7 +1,6 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- apps-adguard.yaml
|
|
||||||
- apps-gitea.yaml
|
- apps-gitea.yaml
|
||||||
- apps-nextcloud.yaml
|
- apps-nextcloud.yaml
|
||||||
- apps-paperless.yaml
|
- apps-paperless.yaml
|
||||||
|
@ -40,12 +40,6 @@ spec:
|
|||||||
- --entrypoints.websecure-local.transport.respondingTimeouts.readTimeout=300
|
- --entrypoints.websecure-local.transport.respondingTimeouts.readTimeout=300
|
||||||
- --entrypoints.websecure-local.transport.respondingTimeouts.idleTimeout=0
|
- --entrypoints.websecure-local.transport.respondingTimeouts.idleTimeout=0
|
||||||
|
|
||||||
- --entrypoints.web-front.address=:8000/tcp
|
|
||||||
- --entrypoints.web-front.transport.respondingTimeouts.readTimeout=300
|
|
||||||
- --entrypoints.web-front.transport.respondingTimeouts.idleTimeout=0
|
|
||||||
#- --entrypoints.web-front.http.redirections.entryPoint.to=websecure-front
|
|
||||||
#- --entrypoints.web-front.http.redirections.entryPoint.scheme=https
|
|
||||||
|
|
||||||
- --entrypoints.websecure-front.address=:8443/tcp
|
- --entrypoints.websecure-front.address=:8443/tcp
|
||||||
- --entrypoints.websecure-front.http.middlewares=traefik-default-headers
|
- --entrypoints.websecure-front.http.middlewares=traefik-default-headers
|
||||||
- --entrypoints.websecure-front.http.tls=true
|
- --entrypoints.websecure-front.http.tls=true
|
||||||
@ -112,9 +106,6 @@ spec:
|
|||||||
- containerPort: 443
|
- containerPort: 443
|
||||||
name: websecure-local
|
name: websecure-local
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- containerPort: 8000
|
|
||||||
name: web-front
|
|
||||||
protocol: TCP
|
|
||||||
- containerPort: 8443
|
- containerPort: 8443
|
||||||
name: websecure-front
|
name: websecure-front
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
@ -38,11 +38,6 @@ spec:
|
|||||||
app: traefik
|
app: traefik
|
||||||
ports:
|
ports:
|
||||||
# Front
|
# Front
|
||||||
- name: web
|
|
||||||
port: 80
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: web-front
|
|
||||||
nodePort: 30080
|
|
||||||
- name: websecure
|
- name: websecure
|
||||||
port: 443
|
port: 443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: adguard-ingress
|
||||||
|
namespace: traefik
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- web-local
|
||||||
|
- websecure-local
|
||||||
|
routes:
|
||||||
|
- match: Host(`adguard.steffenillium.de`)
|
||||||
|
kind: Rule
|
||||||
|
services:
|
||||||
|
- name: adguard-service
|
||||||
|
port: http
|
||||||
|
|
@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: fritz-service
|
||||||
|
spec:
|
||||||
|
type: ExternalName
|
||||||
|
externalName: 192.168.178.2
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
targetPort: 80
|
||||||
|
protocol: TCP
|
||||||
|
name: http
|
@ -0,0 +1,3 @@
|
|||||||
|
resources:
|
||||||
|
- adguard-ingress.yaml
|
||||||
|
- adguard-service.yaml
|
@ -13,21 +13,3 @@ spec:
|
|||||||
services:
|
services:
|
||||||
- name: fritz-service
|
- name: fritz-service
|
||||||
port: http
|
port: http
|
||||||
---
|
|
||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: IngressRoute
|
|
||||||
metadata:
|
|
||||||
name: fritz-ingress-front
|
|
||||||
namespace: traefik
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- web-front
|
|
||||||
- websecure-front
|
|
||||||
routes:
|
|
||||||
- match: Host(`fritz.steffenillium.de`)
|
|
||||||
kind: Rule
|
|
||||||
# middlewares:
|
|
||||||
# - name: authentik-middleware
|
|
||||||
services:
|
|
||||||
- name: fritz-service
|
|
||||||
port: http
|
|
||||||
|
@ -5,7 +5,6 @@ metadata:
|
|||||||
namespace: traefik
|
namespace: traefik
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- web-front
|
|
||||||
- websecure-front
|
- websecure-front
|
||||||
- web-local
|
- web-local
|
||||||
- websecure-local
|
- websecure-local
|
||||||
|
Loading…
x
Reference in New Issue
Block a user