Skip to content

Instantly share code, notes, and snippets.

@trinhpham
Created March 21, 2023 06:55
Show Gist options
  • Save trinhpham/4767161c6dc98d2cb4e338cef852682d to your computer and use it in GitHub Desktop.
Save trinhpham/4767161c6dc98d2cb4e338cef852682d to your computer and use it in GitHub Desktop.
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: lhci-forwarder
spec:
entryPoints:
- web
- websecure
routes:
- kind: Rule
match: Host(`lighthouse.cony.line.dev`)
services:
- kind: Service
name: lhci-external-svc
passHostHeader: false
port: https
scheme: https
# tls: {}
---
apiVersion: v1
kind: Service
metadata:
name: lhci-external-svc
spec:
externalName: lhci-farm-dev.linecorp.com
type: ExternalName
ports:
- name: https
port: 443
@John-Lin
Copy link

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment