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