fix k8s upgrade issues [ci skip]
This commit is contained in:
parent
73258b3581
commit
fd6d15c598
17 changed files with 192 additions and 114 deletions
|
|
@ -98,7 +98,7 @@ resource "kubernetes_service" "oauth_proxy" {
|
|||
}
|
||||
}
|
||||
|
||||
resource "kubernetes_ingress" "oauth" {
|
||||
resource "kubernetes_ingress_v1" "oauth" {
|
||||
metadata {
|
||||
name = "oauth-ingress"
|
||||
namespace = var.namespace
|
||||
|
|
@ -119,8 +119,12 @@ resource "kubernetes_ingress" "oauth" {
|
|||
path {
|
||||
path = "/oauth2/.*"
|
||||
backend {
|
||||
service_name = var.svc_name
|
||||
service_port = "80"
|
||||
service {
|
||||
name = var.svc_name
|
||||
port {
|
||||
number = 80
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue