Skip to content

Commit

Permalink
fix(cert-manager): use module relative path
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Lefevre <[email protected]>
  • Loading branch information
ArchiFleKs committed Nov 8, 2020
1 parent 7f3d1b9 commit b945e87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cert-manager.tf
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ resource "helm_release" "cert-manager" {
}

data "kubectl_path_documents" "cert-manager_cluster_issuers" {
pattern = "./templates/cert-manager-cluster-issuers.yaml"
pattern = "${path.module}/templates/cert-manager-cluster-issuers.yaml"
vars = {
acme_email = local.cert-manager["acme_email"]
ingress_class = local.cert-manager["cluster_issuers_ingress_class"]
Expand Down Expand Up @@ -196,7 +196,7 @@ resource "kubernetes_network_policy" "cert-manager_allow_control_plane" {
spec {
pod_selector {
match_expressions {
key = "app"
key = "app.kubernetes.io/name"
operator = "In"
values = ["webhook"]
}
Expand Down

0 comments on commit b945e87

Please sign in to comment.