make dashy publicly accessible [ci skip]

This commit is contained in:
Viktor Barzin 2023-10-23 22:05:54 +00:00
parent a9e8a88e16
commit 3d7ca3c57d
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
3 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"
}
}