add capacitor ingress
This commit is contained in:
parent
47b1a8ca1d
commit
16d3d9c3ad
21
infrastructure/capacitor/ingress.yaml
Normal file
21
infrastructure/capacitor/ingress.yaml
Normal file
@ -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
|
Reference in New Issue
Block a user