From 3d47bc34da9d1bcabfb65cc010fa533321bf963b Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Mon, 8 Jun 2020 18:35:15 +0100 Subject: [PATCH] Added home assistant tunnel --- manifests/inlets.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/manifests/inlets.yaml b/manifests/inlets.yaml index c75b3c9..068c78e 100644 --- a/manifests/inlets.yaml +++ b/manifests/inlets.yaml @@ -101,3 +101,28 @@ spec: backend: serviceName: inlets servicePort: 80 + +--- +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: home-assistant + namespace: inlets + annotations: + cert-manager.io/cluster-issuer: letsencrypt + traefik.ingress.kubernetes.io/frontend-entry-points: http,https + traefik.ingress.kubernetes.io/redirect-entry-point: https + traefik.ingress.kubernetes.io/redirect-permanent: "true" +spec: + tls: + - hosts: + - home.cluster.fun + secretName: home-assistant-ingress + rules: + - host: home.cluster.fun + http: + paths: + - path: / + backend: + serviceName: inlets + servicePort: 80