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"
}
resource "kubernetes_ingress_v1" "kiali" {
metadata {
name = "kiali"
namespace = "istio-system"
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"
}
}
# Gets auto removed. revisit after finishing power consmption analysis
# resource "kubernetes_ingress_v1" "kiali" {
# metadata {
# name = "kiali"
# namespace = "istio-system"
# 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"
# }
# }
spec {
tls {
hosts = ["kiali.viktorbarzin.me"]
secret_name = var.tls_secret_name
}
rule {
host = "kiali.viktorbarzin.me"
http {
path {
path = "/"
backend {
service {
name = "kiali"
port {
number = 20001
}
}
}
}
}
}
}
}
# spec {
# tls {
# hosts = ["kiali.viktorbarzin.me"]
# secret_name = var.tls_secret_name
# }
# rule {
# host = "kiali.viktorbarzin.me"
# http {
# path {
# path = "/"
# backend {
# service {
# name = "kiali"
# port {
# number = 20001
# }
# }
# }
# }
# }
# }
# }
# }

Binary file not shown.