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"
|
image = "ghcr.io/gurucomputing/headscale-ui:latest"
|
||||||
name = "headscale-ui"
|
name = "headscale-ui"
|
||||||
port {
|
port {
|
||||||
container_port = 80
|
container_port = 8081
|
||||||
}
|
}
|
||||||
env {
|
env {
|
||||||
name = "HTTP_PORT"
|
name = "HTTP_PORT"
|
||||||
value = "80"
|
value = "8081"
|
||||||
|
}
|
||||||
|
env {
|
||||||
|
name = "HTTPS_PORT"
|
||||||
|
value = "8082"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -143,9 +147,10 @@ resource "kubernetes_service" "headscale" {
|
||||||
protocol = "TCP"
|
protocol = "TCP"
|
||||||
}
|
}
|
||||||
port {
|
port {
|
||||||
name = "headscale-ui"
|
name = "headscale-ui"
|
||||||
port = "80"
|
port = "80"
|
||||||
protocol = "TCP"
|
target_port = 8081
|
||||||
|
protocol = "TCP"
|
||||||
}
|
}
|
||||||
port {
|
port {
|
||||||
name = "metrics"
|
name = "metrics"
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue