36 lines
715 B
YAML
36 lines
715 B
YAML
|
kind: Service
|
||
|
apiVersion: v1
|
||
|
metadata:
|
||
|
name: trigger-external
|
||
|
namespace: traefik
|
||
|
spec:
|
||
|
type: ExternalName
|
||
|
externalName: 10.0.50.205
|
||
|
ports:
|
||
|
- name: http
|
||
|
port: 3040
|
||
|
---
|
||
|
apiVersion: traefik.io/v1alpha1
|
||
|
kind: IngressRoute
|
||
|
metadata:
|
||
|
name: trigger-external-ingress
|
||
|
namespace: traefik
|
||
|
annotations:
|
||
|
kubernetes.io/ingress.class: traefik-external
|
||
|
spec:
|
||
|
entryPoints:
|
||
|
- websecure
|
||
|
routes:
|
||
|
- match: Host(`trigger.fascinated.cc`)
|
||
|
kind: Rule
|
||
|
middlewares:
|
||
|
- name: default-headers
|
||
|
namespace: traefik
|
||
|
- name: compress
|
||
|
namespace: traefik
|
||
|
services:
|
||
|
- name: trigger-external
|
||
|
port: 3040
|
||
|
tls:
|
||
|
secretName: fascinated-cc
|