diff --git a/deployment/ingress.yaml b/deployment/ingress.yaml index 56fbb1c..c3dae69 100644 --- a/deployment/ingress.yaml +++ b/deployment/ingress.yaml @@ -40,4 +40,23 @@ spec: services: - name: ui port: 80 +--- +apiVersion: traefik.containo.us/v1alpha1 +kind: IngressRoute +metadata: + name: api +spec: + entryPoints: + - websecure + tls: + secretName: homea2-cert + options: + name: mtls-required + namespace: homea2 + routes: + - match: Host(`homea2-api.hottis.de`) + kind: Rule + services: + - name: api + port: 80