temporarily disable kiali ingress as it gets auto removed and istio is under evaluation [ci skip]
This commit is contained in:
parent
bbbb3043f5
commit
040dcf98f2
2 changed files with 34 additions and 33 deletions
|
|
@ -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.
Loading…
Add table
Add a link
Reference in a new issue