move the port for the headscale ui as it didn't have perms [ci skip]
This commit is contained in:
parent
38f9a0baa0
commit
5c8fff90d2
2 changed files with 10 additions and 5 deletions
|
|
@ -103,11 +103,15 @@ resource "kubernetes_deployment" "headscale" {
|
|||
image = "ghcr.io/gurucomputing/headscale-ui:latest"
|
||||
name = "headscale-ui"
|
||||
port {
|
||||
container_port = 80
|
||||
container_port = 8081
|
||||
}
|
||||
env {
|
||||
name = "HTTP_PORT"
|
||||
value = "80"
|
||||
value = "8081"
|
||||
}
|
||||
env {
|
||||
name = "HTTPS_PORT"
|
||||
value = "8082"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -143,9 +147,10 @@ resource "kubernetes_service" "headscale" {
|
|||
protocol = "TCP"
|
||||
}
|
||||
port {
|
||||
name = "headscale-ui"
|
||||
port = "80"
|
||||
protocol = "TCP"
|
||||
name = "headscale-ui"
|
||||
port = "80"
|
||||
target_port = 8081
|
||||
protocol = "TCP"
|
||||
}
|
||||
port {
|
||||
name = "metrics"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue