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