This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
homelab/infrastructure/kube-sphere/ingress.yml
2024-09-22 05:48:34 +01:00

22 lines
482 B
YAML

apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: kubesphere-external-ingress
namespace: kube-system
annotations:
kubernetes.io/ingress.class: traefik-external
spec:
entryPoints:
- websecure
routes:
- match: Host(`kubesphere.local.fascinated.cc`)
kind: Rule
middlewares:
- name: default-headers
namespace: traefik
services:
- name: ks-console
port: 80
tls:
secretName: fascinated-cc