From 16d3d9c3adb36025fbcf70823b37b6431e9110a8 Mon Sep 17 00:00:00 2001 From: Liam Date: Sun, 22 Sep 2024 08:10:35 +0100 Subject: [PATCH] add capacitor ingress --- infrastructure/capacitor/ingress.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 infrastructure/capacitor/ingress.yaml diff --git a/infrastructure/capacitor/ingress.yaml b/infrastructure/capacitor/ingress.yaml new file mode 100644 index 0000000..9cd1983 --- /dev/null +++ b/infrastructure/capacitor/ingress.yaml @@ -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