Skip to content

Commit

Permalink
Merge pull request #48 from githubjianli/patch-3
Browse files Browse the repository at this point in the history
fix: fix syntax
  • Loading branch information
RickArt authored Nov 16, 2023
2 parents 8110beb + 7dfb44a commit 1e220ab
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions k8s.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ resource "kubernetes_ingress_v1" "beekeeper" {
path {
path = var.k8s_path_cleanup_ingress_path
backend {
name = kubernetes_service.beekeeper_path_cleanup[0].metadata[0].name
port {
service {
name = kubernetes_service.beekeeper_path_cleanup[0].metadata[0].name
port {
number = kubernetes_service.beekeeper_path_cleanup[0].spec[0].port[0].target_port
}
}
}
}
Expand All @@ -48,9 +50,11 @@ resource "kubernetes_ingress_v1" "beekeeper" {
path {
path = var.k8s_metadata_cleanup_ingress_path
backend {
name = kubernetes_service.beekeeper_metadata_cleanup[0].metadata[0].name
port {
service {
name = kubernetes_service.beekeeper_metadata_cleanup[0].metadata[0].name
port {
number = kubernetes_service.beekeeper_metadata_cleanup[0].spec[0].port[0].target_port
}
}
}
}
Expand All @@ -63,9 +67,11 @@ resource "kubernetes_ingress_v1" "beekeeper" {
path {
path = var.k8s_scheduler_apiary_ingress_path
backend {
name = kubernetes_service.beekeeper_scheduler_apiary[0].metadata[0].name
port {
service {
name = kubernetes_service.beekeeper_scheduler_apiary[0].metadata[0].name
port {
number = kubernetes_service.beekeeper_scheduler_apiary[0].spec[0].port[0].target_port
}
}
}
}
Expand Down

0 comments on commit 1e220ab

Please sign in to comment.