add capacitor ingress

This commit is contained in:
Lee 2024-09-22 08:10:35 +01:00
parent 47b1a8ca1d
commit 16d3d9c3ad

@ -0,0 +1,21 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: capacitor-external-ingress
namespace: flux-system
annotations:
kubernetes.io/ingress.class: traefik-external
spec:
entryPoints:
- websecure
routes:
- match: Host(`capacitor.local.fascinated.cc`)
kind: Rule
middlewares:
- name: default-headers
namespace: traefik
services:
- name: capacitor
port: 9000
tls:
secretName: fascinated-cc