make dashy publicly accessible [ci skip]

This commit is contained in:
Viktor Barzin 2023-10-23 22:05:54 +00:00
parent 4efa47172c
commit f9976e2c5e
2 changed files with 10 additions and 3 deletions

View file

@ -102,8 +102,8 @@ resource "kubernetes_ingress_v1" "dashy" {
namespace = "dashy"
annotations = {
"kubernetes.io/ingress.class" = "nginx"
"nginx.ingress.kubernetes.io/auth-url" : "https://oauth2.viktorbarzin.me/oauth2/auth"
"nginx.ingress.kubernetes.io/auth-signin" : "https://oauth2.viktorbarzin.me/oauth2/start?rd=/redirect/$http_host$escaped_request_uri"
# "nginx.ingress.kubernetes.io/auth-url" : "https://oauth2.viktorbarzin.me/oauth2/auth"
# "nginx.ingress.kubernetes.io/auth-signin" : "https://oauth2.viktorbarzin.me/oauth2/start?rd=/redirect/$http_host$escaped_request_uri"
}
}