apiVersion: traefik.io/v1alpha1 kind: IngressRoute metadata: name: checkmk-prod namespace: checkmk spec: entryPoints: - websecure routes: - match: Host(`cmk.forust.xyz`) kind: Rule middlewares: - name: crowdsec-bouncer namespace: crowdsec services: - name: checkmk-service port: 5000 tls: secretName: checkmk-prod-tls --- apiVersion: traefik.io/v1alpha1 kind: IngressRouteTCP metadata: name: checkmk-agent-receiver namespace: checkmk spec: entryPoints: - checkmk-agent routes: - match: HostSNI(`*`) services: - name: checkmk-service port: 8000 tls: passthrough: true --- apiVersion: traefik.io/v1alpha1 kind: IngressRoute metadata: name: checkmk-local namespace: checkmk spec: entryPoints: - websecure routes: - match: Host(`cmk.workstation.internal`) || Host(`cmk.gigaforust.internal`) kind: Rule services: - name: checkmk-service port: 5000