From 6afaf3d7e136d4951f524f198d41b3997136fe3d Mon Sep 17 00:00:00 2001 From: gruberdev Date: Thu, 1 Feb 2024 21:14:48 -0300 Subject: [PATCH] [home] updated ingress resource --- apps/home/ha/README.md | 7 +++++++ apps/home/ha/base/ingress.yaml | 10 +++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/apps/home/ha/README.md b/apps/home/ha/README.md index 67c1f2bb7..127acbd8c 100644 --- a/apps/home/ha/README.md +++ b/apps/home/ha/README.md @@ -59,6 +59,10 @@ kubectl apply -k github.com/gruberdev/homelab/apps/home/ha - [energy-entity-row][energy-entity-row] - [layout-card][layout-card] +### General personal documentation + +- [How I fixed my Samsung TV (Tizen) asking for permission all whenever it was switched off when using the Home Assistant integration][ha-samsung-uri] +- [Custom keys for an improved tv-card coupled with my IR controller (Broadlink RM4 Pro)][broadlink-custom-uri] [own-ha-uri]: https://github.com/gruberdev/homeassistant [website-uri]: https://www.home-assistant.io/ @@ -91,3 +95,6 @@ kubectl apply -k github.com/gruberdev/homelab/apps/home/ha [decluttering-card]: https://github.com/custom-cards/decluttering-card [energy-entity-row]: https://github.com/zeronounours/lovelace-energy-entity-row [layout-card]: https://github.com/thomasloven/lovelace-layout-card + +[ha-samsung-uri]: https://github.com/home-assistant/core/issues/70777 +[broadlink-custom-uri]: https://github.com/usernein/tv-card/blob/c8f0a76424844772934613d45691d9b3860ff36b/README.md?plain=1#L88-L130 \ No newline at end of file diff --git a/apps/home/ha/base/ingress.yaml b/apps/home/ha/base/ingress.yaml index 626ca53d5..dcedcc35d 100644 --- a/apps/home/ha/base/ingress.yaml +++ b/apps/home/ha/base/ingress.yaml @@ -6,9 +6,9 @@ metadata: external-dns.alpha.kubernetes.io/hostname: home.gruber.dev.br external-dns.alpha.kubernetes.io/cloudflare-proxied: "false" external-dns.alpha.kubernetes.io/ttl: "120" - tailscale.com/funnel: "true" + nginx.ingress.kubernetes.io/ssl-redirect: "true" spec: - ingressClassName: tailscale + ingressClassName: nginx rules: - host: home.gruber.dev.br http: @@ -19,4 +19,8 @@ spec: service: name: ha-tailscale port: - name: web + name: ha + tls: + - hosts: + - home.gruber.dev.br + secretName: ha-tls