readd not working headscale ui [ci skip]
This commit is contained in:
parent
35bd03fc49
commit
2279477661
4 changed files with 36 additions and 36 deletions
|
|
@ -100,21 +100,21 @@ resource "kubernetes_deployment" "headscale" {
|
|||
# }
|
||||
# }
|
||||
container {
|
||||
# image = "ghcr.io/gurucomputing/headscale-ui:latest"
|
||||
image = "ghcr.io/tale/headplane:0.3.2"
|
||||
name = "headscale-ui"
|
||||
image = "ghcr.io/gurucomputing/headscale-ui:latest"
|
||||
# image = "ghcr.io/tale/headplane:0.3.2"
|
||||
name = "headscale-ui"
|
||||
port {
|
||||
# container_port = 8081
|
||||
container_port = 3000
|
||||
container_port = 8081
|
||||
# container_port = 3000
|
||||
}
|
||||
env {
|
||||
name = "HTTP_PORT"
|
||||
value = "8081"
|
||||
}
|
||||
env {
|
||||
name = "HTTPS_PORT"
|
||||
value = "8082"
|
||||
}
|
||||
# env {
|
||||
# name = "HTTPS_PORT"
|
||||
# value = "8082"
|
||||
# }
|
||||
env {
|
||||
name = "HEADSCALE_URL"
|
||||
value = "http://localhost:8080"
|
||||
|
|
@ -161,11 +161,11 @@ resource "kubernetes_service" "headscale" {
|
|||
protocol = "TCP"
|
||||
}
|
||||
port {
|
||||
name = "headscale-ui"
|
||||
port = "80"
|
||||
# target_port = 8081
|
||||
target_port = 3000
|
||||
protocol = "TCP"
|
||||
name = "headscale-ui"
|
||||
port = "80"
|
||||
target_port = 8081
|
||||
# target_port = 3000
|
||||
protocol = "TCP"
|
||||
}
|
||||
port {
|
||||
name = "metrics"
|
||||
|
|
@ -196,13 +196,13 @@ resource "kubernetes_ingress_v1" "headscale" {
|
|||
host = "headscale.viktorbarzin.me"
|
||||
http {
|
||||
path {
|
||||
# path = "/web"
|
||||
path = "/admin"
|
||||
path = "/web"
|
||||
# path = "/admin"
|
||||
backend {
|
||||
service {
|
||||
name = "headscale"
|
||||
port {
|
||||
number = 80
|
||||
number = 8081
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue