change headscale ui to a working one [ci skip]

This commit is contained in:
Viktor Barzin 2024-02-20 21:52:52 +00:00
parent ac3f75668f
commit 0dc86792e4
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
3 changed files with 17 additions and 6 deletions

View file

@ -92,12 +92,23 @@ resource "kubernetes_deployment" "headscale" {
server = "10.0.10.15"
}
}
# container {
# image = "simcu/headscale-ui:0.1.4"
# name = "headscale-ui"
# port {
# container_port = 80
# }
# }
container {
image = "simcu/headscale-ui"
image = "ghcr.io/gurucomputing/headscale-ui:latest"
name = "headscale-ui"
port {
container_port = 80
}
env {
name = "HTTP_PORT"
value = "80"
}
}
}
}
@ -165,7 +176,7 @@ resource "kubernetes_ingress_v1" "headscale" {
host = "headscale.viktorbarzin.me"
http {
path {
path = "/manager"
path = "/web"
backend {
service {
name = "headscale"

View file

@ -420,10 +420,10 @@ module "frigate" {
# tls_secret_name = var.tls_secret_name
# }
module "istio" {
source = "./istio"
tls_secret_name = var.tls_secret_name
}
# module "istio" {
# source = "./istio"
# tls_secret_name = var.tls_secret_name
# }
# module "authelia" {
# source = "./authelia"

Binary file not shown.