test safe traefik routing to exterrnal dashboard
This commit is contained in:
infrastructure/03-traefik
@ -9,6 +9,7 @@ components:
|
||||
- ../../../components/front-region-selector.yaml
|
||||
|
||||
resources:
|
||||
- traefik-ingress-dashboard-local.yaml
|
||||
- ../base
|
||||
|
||||
|
||||
|
@ -16,7 +16,8 @@ spec:
|
||||
- --global.checknewversion=false
|
||||
- --entrypoints.dns.address=:53/udp
|
||||
- --entrypoints.metrics.address=:9100/tcp
|
||||
- --entrypoints.traefik.address=:9000/tcp
|
||||
- --entrypoints.traefik-dash.address=:9000/tcp
|
||||
- --entrypoints.traefik.address=:9080/tcp
|
||||
- --entrypoints.web.address=:8000/tcp
|
||||
- --entrypoints.web.http.redirections.entryPoint.to=websecure
|
||||
- --entrypoints.web.http.redirections.entryPoint.scheme=https
|
||||
|
@ -7,9 +7,13 @@ spec:
|
||||
type: NodePort
|
||||
|
||||
ports:
|
||||
- name: traefik
|
||||
- name: traefik-dash
|
||||
port: 9000
|
||||
protocol: TCP
|
||||
targetPort: traefik-dash
|
||||
- name: traefik
|
||||
port: 9090
|
||||
protocol: TCP
|
||||
targetPort: traefik
|
||||
- name: web
|
||||
port: 80
|
||||
|
@ -0,0 +1,16 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
labels:
|
||||
local: "true"
|
||||
name: traefik-dashboard-front-internal
|
||||
namespace: traefik
|
||||
spec:
|
||||
entryPoints:
|
||||
- traefik
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`tr-front.steffenillium.de`)
|
||||
services:
|
||||
- kind: TraefikService
|
||||
name: api@internal
|
@ -32,4 +32,4 @@ spec:
|
||||
match: Host(`tr-front.steffenillium.de`)
|
||||
services:
|
||||
- name: front-traefik
|
||||
port: 9000
|
||||
port: 9080
|
||||
|
Reference in New Issue
Block a user