misc: actualbudget, authentik, headscale, rybbit, terminal, dbaas updates

- actualbudget: adjust resource config
- authentik: add configuration
- headscale: minor fix
- rybbit: add resources
- terminal: add terminal stack config
- platform/dbaas: add config
- infra: update lock file
This commit is contained in:
Viktor Barzin 2026-04-06 11:58:00 +03:00
parent c2f9ca0d13
commit 0de2fef9c9
8 changed files with 95 additions and 41 deletions

View file

@ -70,3 +70,55 @@ module "ingress" {
"gethomepage.dev/pod-selector" = ""
}
}
# Read-only terminal session at terminal-ro.viktorbarzin.me
resource "kubernetes_service" "terminal_ro" {
metadata {
name = "terminal-ro"
namespace = kubernetes_namespace.terminal.metadata[0].name
labels = {
app = "terminal-ro"
}
}
spec {
port {
name = "http"
port = 80
target_port = 7682
}
}
}
resource "kubernetes_endpoints" "terminal_ro" {
metadata {
name = "terminal-ro"
namespace = kubernetes_namespace.terminal.metadata[0].name
}
subset {
address {
ip = "10.0.10.10"
}
port {
name = "http"
port = 7682
}
}
}
module "ingress_ro" {
source = "../../modules/kubernetes/ingress_factory"
namespace = kubernetes_namespace.terminal.metadata[0].name
name = "terminal-ro"
tls_secret_name = var.tls_secret_name
protected = true
extra_annotations = {
"gethomepage.dev/enabled" = "true"
"gethomepage.dev/name" = "Terminal (Read-Only)"
"gethomepage.dev/description" = "Read-only web terminal (ttyd)"
"gethomepage.dev/icon" = "mdi-console"
"gethomepage.dev/group" = "Infrastructure"
"gethomepage.dev/pod-selector" = ""
}
}

10
stacks/terminal/tiers.tf Normal file
View file

@ -0,0 +1,10 @@
# Generated by Terragrunt. Sig: nIlQXj57tbuaRZEa
locals {
tiers = {
core = "0-core"
cluster = "1-cluster"
gpu = "2-gpu"
edge = "3-edge"
aux = "4-aux"
}
}