ping headscale to a version as latest no long available [ci skip]

This commit is contained in:
Viktor Barzin 2024-02-19 22:08:23 +00:00
parent 530036e6e0
commit 6a9d34bd01
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
3 changed files with 9 additions and 7 deletions

View file

@ -47,7 +47,7 @@ resource "kubernetes_deployment" "headscale" {
}
spec {
container {
image = "headscale/headscale:latest"
image = "headscale/headscale:0.22"
name = "headscale"
command = ["headscale", "serve"]
port {
@ -150,13 +150,15 @@ resource "kubernetes_ingress_v1" "headscale" {
namespace = "headscale"
annotations = {
// DO NOT ADD CLIENT TLS AUTH as this breaks vpn auth
"kubernetes.io/ingress.class" = "nginx"
"kubernetes.io/ingress.class" = "nginx"
"nginx.ingress.kubernetes.io/ssl-redirect" = false # Disable SSL redirection for this Ingress
}
}
spec {
tls {
hosts = ["headscale-ui.viktorbarzin.me"]
hosts = ["headscale.viktorbarzin.me"]
secret_name = var.tls_secret_name
}
rule {

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.