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

22 lines
482 B
YAML
Raw Normal View History

2024-09-22 04:48:34 +00:00
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