Skip to content

Commit

Permalink
Update ingress.tf - rollback ns for now
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-benoit authored Jun 20, 2024
1 parent 812a709 commit f4ab181
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions modules/base/ingress.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,10 @@ resource "azurerm_public_ip" "ingress" {

# Ingress controller

resource "kubernetes_namespace" "ingress_nginx" {
metadata {
labels = {
"pod-security.kubernetes.io/enforce" = "restricted"
}

name = "ingress-nginx"
}
}

resource "helm_release" "ingress_nginx" {
name = "ingress-nginx"
namespace = kubernetes_namespace.ingress_nginx.metadata.0.name
namespace = "ingress-nginx"
create_namespace = true
repository = "https://kubernetes.github.io/ingress-nginx"

chart = "ingress-nginx"
Expand Down

0 comments on commit f4ab181

Please sign in to comment.