31 lines
583 B
YAML
31 lines
583 B
YAML
|
kind: Service
|
||
|
apiVersion: v1
|
||
|
metadata:
|
||
|
name: img-proxy-external
|
||
|
namespace: traefik
|
||
|
spec:
|
||
|
type: ExternalName
|
||
|
externalName: 10.0.50.185
|
||
|
ports:
|
||
|
- name: http
|
||
|
port: 8080
|
||
|
---
|
||
|
apiVersion: traefik.io/v1alpha1
|
||
|
kind: IngressRoute
|
||
|
metadata:
|
||
|
name: img-proxy-external-ingress
|
||
|
namespace: traefik
|
||
|
annotations:
|
||
|
kubernetes.io/ingress.class: traefik-external
|
||
|
spec:
|
||
|
entryPoints:
|
||
|
- websecure
|
||
|
routes:
|
||
|
- match: Host(`img.fascinated.cc`)
|
||
|
kind: Rule
|
||
|
services:
|
||
|
- name: img-proxy-external
|
||
|
port: 8080
|
||
|
tls:
|
||
|
secretName: fascinated-cc
|