From 524320c9b256c3b6d631b899a067680e78824883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Ars?= Date: Thu, 29 Oct 2020 16:02:51 +0100 Subject: [PATCH] Allow HTTP01 challenge for ingresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gaƫtan Ars --- manifests/policies/allow-acme.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 manifests/policies/allow-acme.yaml diff --git a/manifests/policies/allow-acme.yaml b/manifests/policies/allow-acme.yaml new file mode 100644 index 00000000..11e6a349 --- /dev/null +++ b/manifests/policies/allow-acme.yaml @@ -0,0 +1,16 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: allow-acme +spec: + ingress: + - from: + - namespaceSelector: {} + ports: + - protocol: TCP + port: 8089 + podSelector: + matchLabels: + acme.cert-manager.io/http01-solver: 'true' + policyTypes: + - Ingress \ No newline at end of file