temporarily disable kiali ingress as it gets auto removed and istio is under evaluation [ci skip]

This commit is contained in:
Viktor Barzin 2024-01-25 14:41:39 +00:00
parent bbbb3043f5
commit 040dcf98f2
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
2 changed files with 34 additions and 33 deletions

View file

@ -79,37 +79,38 @@ resource "kubernetes_secret" "kiali-token" {
type = "kubernetes.io/service-account-token" type = "kubernetes.io/service-account-token"
} }
resource "kubernetes_ingress_v1" "kiali" { # Gets auto removed. revisit after finishing power consmption analysis
metadata { # resource "kubernetes_ingress_v1" "kiali" {
name = "kiali" # metadata {
namespace = "istio-system" # name = "kiali"
annotations = { # namespace = "istio-system"
"kubernetes.io/ingress.class" = "nginx" # annotations = {
"nginx.ingress.kubernetes.io/auth-url" : "https://oauth2.viktorbarzin.me/oauth2/auth" # "kubernetes.io/ingress.class" = "nginx"
"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"
} # }
# }
spec { # spec {
tls { # tls {
hosts = ["kiali.viktorbarzin.me"] # hosts = ["kiali.viktorbarzin.me"]
secret_name = var.tls_secret_name # secret_name = var.tls_secret_name
} # }
rule { # rule {
host = "kiali.viktorbarzin.me" # host = "kiali.viktorbarzin.me"
http { # http {
path { # path {
path = "/" # path = "/"
backend { # backend {
service { # service {
name = "kiali" # name = "kiali"
port { # port {
number = 20001 # number = 20001
} # }
} # }
} # }
} # }
} # }
} # }
} # }
} # }

Binary file not shown.