add external wgui ingress
This commit is contained in:
parent
5af01bcdce
commit
bc1d9b415e
12
infrastructure/03-traefik/foreign/wgui/adguardservice.yaml
Normal file
12
infrastructure/03-traefik/foreign/wgui/adguardservice.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: wgui
|
||||||
|
spec:
|
||||||
|
type: ExternalName
|
||||||
|
externalName: 10.6.0.1
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
targetPort: 5182
|
||||||
|
protocol: TCP
|
||||||
|
name: http
|
16
infrastructure/03-traefik/foreign/wgui/ingress.yaml
Normal file
16
infrastructure/03-traefik/foreign/wgui/ingress.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: wgui
|
||||||
|
namespace: traefik
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- web-local
|
||||||
|
- websecure-local
|
||||||
|
routes:
|
||||||
|
- match: Host(`wgui.steffenillium.de`)
|
||||||
|
kind: Rule
|
||||||
|
services:
|
||||||
|
- name: wgui
|
||||||
|
port: http
|
||||||
|
|
@ -0,0 +1,3 @@
|
|||||||
|
resources:
|
||||||
|
- adguard-ingress.yaml
|
||||||
|
- adguard-service.yaml
|
Loading…
x
Reference in New Issue
Block a user