[ci skip] add Homepage widget credentials for Authentik, Shlink, Home Assistant

Wire homepage_credentials tokens through platform stack to enable
live widgets for Authentik, Shlink (URL shortener), and Home Assistant
London. Update SOPS with new credential entries.
This commit is contained in:
Viktor Barzin 2026-03-07 16:47:10 +00:00
parent 6bd3970579
commit a9daf50142
5 changed files with 228 additions and 192 deletions

View file

@ -3,6 +3,11 @@ variable "secret_key" {}
variable "postgres_password" {}
variable "tier" { type = string }
variable "redis_host" { type = string }
variable "homepage_token" {
type = string
default = ""
sensitive = true
}
module "tls_secret" {
@ -66,6 +71,9 @@ module "ingress" {
"gethomepage.dev/icon" = "authentik.png"
"gethomepage.dev/group" = "Identity & Security"
"gethomepage.dev/pod-selector" = ""
"gethomepage.dev/widget.type" = "authentik"
"gethomepage.dev/widget.url" = "http://goauthentik-server.authentik.svc.cluster.local"
"gethomepage.dev/widget.key" = var.homepage_token
}
}

View file

@ -4,6 +4,11 @@
variable "tls_secret_name" {}
variable "truenas_homepage_token" {}
variable "pfsense_homepage_token" {}
variable "haos_homepage_token" {
type = string
default = ""
sensitive = true
}
resource "kubernetes_namespace" "reverse-proxy" {
metadata {
@ -287,6 +292,9 @@ module "ha-london" {
"gethomepage.dev/icon" = "home-assistant.png"
"gethomepage.dev/group" = "Smart Home"
"gethomepage.dev/pod-selector" = ""
"gethomepage.dev/widget.type" = "homeassistant"
"gethomepage.dev/widget.url" = "http://ha-london.viktorbarzin.lan:8123"
"gethomepage.dev/widget.key" = var.haos_homepage_token
}
}