Skip to content

Commit

Permalink
fix: default network policy labels
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Lefevre <lefevre.kevin@gmail.com>
  • Loading branch information
ArchiFleKs committed Sep 7, 2020
1 parent d9a8ceb commit df5d17b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx-ingress.tf
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ resource "kubernetes_network_policy" "nginx_ingress_allow_ingress" {
spec {
pod_selector {
match_expressions {
key = "app"
key = "app.kubernetes.io/name"
operator = "In"
values = ["nginx-ingress"]
values = ["ingress-nginx"]
}
}

Expand Down

0 comments on commit df5d17b

Please sign in to comment.